diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-01-26 23:19:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-01-26 23:19:10 +0000 |
commit | f1ca38573f22205e28ac482efebe463696c9c2c7 (patch) | |
tree | 6ca6c715c3f102b20f83c0143ff89bf40754d162 /configure.ac | |
parent | d91dfa3baa460287122c9ea5eee832929b0a6c57 (diff) | |
download | gnunet-f1ca38573f22205e28ac482efebe463696c9c2c7.tar.gz gnunet-f1ca38573f22205e28ac482efebe463696c9c2c7.zip |
use -Wl on -no-undefined as it is a linker option:
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 36da278ef..29c65c44a 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -138,7 +138,7 @@ linux*) | |||
138 | AC_DEFINE_UNQUOTED(CYGWIN,1,[This is a Cygwin system]) | 138 | AC_DEFINE_UNQUOTED(CYGWIN,1,[This is a Cygwin system]) |
139 | AC_DEFINE_UNQUOTED(WINDOWS,1,[This is a Windows system]) | 139 | AC_DEFINE_UNQUOTED(WINDOWS,1,[This is a Windows system]) |
140 | AC_CHECK_LIB(intl, gettext) | 140 | AC_CHECK_LIB(intl, gettext) |
141 | LDFLAGS="$LDFLAGS -no-undefined" | 141 | LDFLAGS="$LDFLAGS -Wl,-no-undefined" |
142 | CFLAGS="-mms-bitfields $CFLAGS" | 142 | CFLAGS="-mms-bitfields $CFLAGS" |
143 | build_target="cygwin" | 143 | build_target="cygwin" |
144 | LIBPREFIX=lib | 144 | LIBPREFIX=lib |
@@ -933,8 +933,8 @@ then | |||
933 | AC_LIB_APPENDTOVAR([CPPFLAGS], [$GN_INTLINCL]) | 933 | AC_LIB_APPENDTOVAR([CPPFLAGS], [$GN_INTLINCL]) |
934 | fi | 934 | fi |
935 | 935 | ||
936 | GN_LIB_LDFLAGS="-export-dynamic -no-undefined" | 936 | GN_LIB_LDFLAGS="-export-dynamic -Wl,-no-undefined" |
937 | GN_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -no-undefined" | 937 | GN_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -Wl,-no-undefined" |
938 | 938 | ||
939 | AC_SUBST(GN_LIB_LDFLAGS) | 939 | AC_SUBST(GN_LIB_LDFLAGS) |
940 | AC_SUBST(GN_PLUGIN_LDFLAGS) | 940 | AC_SUBST(GN_PLUGIN_LDFLAGS) |