summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Ferrandis <ludovic.ferrandis@intel.com>2013-09-13 10:39:08 +0200
committerJussi Kukkonen <jku@goto.fi>2014-07-07 16:19:38 +0300
commitfe312b684bfc8d1ee87685ff4f629d1110cd67b8 (patch)
tree3c77ef1648316578570d9d36f05d12c8961f3c03
parent46c830e2b4fb023a51d59b81792dffe22000faff (diff)
downloaddleyna-core-fe312b684bfc8d1ee87685ff4f629d1110cd67b8.tar.gz
[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 <ludovic.ferrandis@intel.com> Fixes #33. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
-rw-r--r--m4/compiler-flags.m41
1 files changed, 1 insertions, 0 deletions
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"
])