From fe312b684bfc8d1ee87685ff4f629d1110cd67b8 Mon Sep 17 00:00:00 2001 From: Ludovic Ferrandis Date: Fri, 13 Sep 2013 10:39:08 +0200 Subject: [Autoconf] Add --no-undefined to compiler option Update the compiler flags to enable the check of undefined function at link time. It seems the option '-no-undefined' pass in libdleyna_core_1_0_la_LDFLAGS is not enough. Using libtool, this option should be set to the compiler flags. Signed-off-by: Ludovic Ferrandis Fixes #33. Signed-off-by: Jussi Kukkonen --- m4/compiler-flags.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/m4/compiler-flags.m4 b/m4/compiler-flags.m4 index 4f2bad1..645137e 100644 --- a/m4/compiler-flags.m4 +++ b/m4/compiler-flags.m4 @@ -52,4 +52,5 @@ AC_DEFUN_ONCE([DLEYNA_CORE_COMPILER_FLAGS], [ fi CFLAGS+=" -Wno-format-extra-args" + CFLAGS+=" -Wl,--no-undefined" ]) -- cgit v1.2.1