diff options
author | Ludovic Ferrandis <ludovic.ferrandis@intel.com> | 2013-09-13 10:42:31 +0200 |
---|---|---|
committer | Jussi Kukkonen <jku@goto.fi> | 2014-07-08 13:37:36 +0300 |
commit | 3909be5ba555d439a68f135ba41fe9825c66600b (patch) | |
tree | 8d285cb46bb3099cf60ce4f58ff617d37de6faa7 | |
parent | 4b908c91267cfa1125216d1ed892d24caa373cd6 (diff) | |
download | dleyna-server-3909be5ba555d439a68f135ba41fe9825c66600b.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_server_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>
-rw-r--r-- | m4/compiler-flags.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/compiler-flags.m4 b/m4/compiler-flags.m4 index b1b7f1a..7a1853d 100644 --- a/m4/compiler-flags.m4 +++ b/m4/compiler-flags.m4 @@ -52,4 +52,5 @@ AC_DEFUN_ONCE([DLEYNA_SERVER_COMPILER_FLAGS], [ fi CFLAGS+=" -Wno-format-extra-args" + CFLAGS+=" -Wl,--no-undefined" ]) |