summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2014-01-27 07:03:27 +0000
committerLRN <lrn1986@gmail.com>2014-01-27 07:03:27 +0000
commit1f3cc317af5f581e9d4869227b2205d797c87e55 (patch)
tree15ad3817d0ce5819ebea83a4b924ca48a098a244
parentf1ca38573f22205e28ac482efebe463696c9c2c7 (diff)
Revert "use -Wl on -no-undefined as it is a linker option:"
This reverts commit 57b1d0dc7f4aa49b5dc0c18225f51951119bd58c. Remove redundant -no-undefined, make sure only the one that gets into Makefiles directly remains, remove -Wl prefix from it.
-rw-r--r--configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 29c65c44a..e1bfd29ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -138,7 +138,6 @@ linux*)
AC_DEFINE_UNQUOTED(CYGWIN,1,[This is a Cygwin system])
AC_DEFINE_UNQUOTED(WINDOWS,1,[This is a Windows system])
AC_CHECK_LIB(intl, gettext)
- LDFLAGS="$LDFLAGS -Wl,-no-undefined"
CFLAGS="-mms-bitfields $CFLAGS"
build_target="cygwin"
LIBPREFIX=lib
@@ -151,7 +150,7 @@ linux*)
AC_DEFINE_UNQUOTED(WINDOWS,1,[This is a Windows system])
AC_DEFINE_UNQUOTED(_WIN32,1,[This is a Windows system])
AC_CHECK_LIB(intl, gettext)
- LDFLAGS="$LDFLAGS -Wl,-no-undefined -Wl,--export-all-symbols"
+ LDFLAGS="$LDFLAGS -Wl,--export-all-symbols"
LIBS="$LIBS -lws2_32 -lplibc -lgnurx -lole32"
CFLAGS="-mms-bitfields $CFLAGS"
CPPFLAGS="-D_WIN32_WINNT=0x0501 -DHAVE_STAT64=1 -D__USE_MINGW_ANSI_STDIO=1 $CPPFLAGS"
@@ -933,8 +932,8 @@ then
AC_LIB_APPENDTOVAR([CPPFLAGS], [$GN_INTLINCL])
fi
-GN_LIB_LDFLAGS="-export-dynamic -Wl,-no-undefined"
-GN_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -Wl,-no-undefined"
+GN_LIB_LDFLAGS="-export-dynamic -no-undefined"
+GN_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -no-undefined"
AC_SUBST(GN_LIB_LDFLAGS)
AC_SUBST(GN_PLUGIN_LDFLAGS)