From 8d31a6e50db423b89082b64a3250eec1b94a7456 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 16 Jan 2013 13:36:40 +0100 Subject: buildsys: link libgcc_eh if DODEBUG with -O0 we (e.g. lockf) might end up with references to _Unwind_Resume, so pull in gcc_eh in this case.. Signed-off-by: Bernhard Reutner-Fischer --- libc/misc/file/lockf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libc/misc') diff --git a/libc/misc/file/lockf.c b/libc/misc/file/lockf.c index 4e398cd10..56b3aac77 100644 --- a/libc/misc/file/lockf.c +++ b/libc/misc/file/lockf.c @@ -16,15 +16,12 @@ see . */ #include - #include -#include #include +#include #include #include - - /* lockf is a simplified interface to fcntl's locking facilities. */ int lockf (int fd, int cmd, off_t len) -- cgit v1.2.3