gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r18013 - in gnunet: . src/ats src/block src/fragmentation s


From: gnunet
Subject: [GNUnet-SVN] r18013 - in gnunet: . src/ats src/block src/fragmentation src/hello src/testing src/transport src/util
Date: Sat, 5 Nov 2011 10:06:32 +0100

Author: grothoff
Date: 2011-11-05 10:06:32 +0100 (Sat, 05 Nov 2011)
New Revision: 18013

Modified:
   gnunet/configure.ac
   gnunet/src/ats/Makefile.am
   gnunet/src/block/Makefile.am
   gnunet/src/fragmentation/Makefile.am
   gnunet/src/hello/Makefile.am
   gnunet/src/testing/Makefile.am
   gnunet/src/transport/Makefile.am
   gnunet/src/util/Makefile.am
Log:
LRN: Add '-Wl,' prefix to -no-undefined

-no-undefined is not a valid compiler option as of GCC 4.6.x
(it IS valid linker option).
Note that this REQUIRES an extra -no-undefined to be passed to
libtool (this is done by GN_LIB_LDLFAGS and GN_PLUGIN_LDFLAGS),
because libtool does not understand -Wl,-no-undefined.



Modified: gnunet/configure.ac
===================================================================
--- gnunet/configure.ac 2011-11-05 09:05:31 UTC (rev 18012)
+++ gnunet/configure.ac 2011-11-05 09:06:32 UTC (rev 18013)
@@ -141,7 +141,7 @@
      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 -no-undefined -Wl,--export-all-symbols"
+     LDFLAGS="$LDFLAGS -Wl,-no-undefined -Wl,--export-all-symbols"
      LIBS="$LIBS -lws2_32 -lplibc"
      CFLAGS="-mms-bitfields $CFLAGS"
      CPPFLAGS="-D_WIN32_WINNT=0x0501 $CPPFLAGS"

Modified: gnunet/src/ats/Makefile.am
===================================================================
--- gnunet/src/ats/Makefile.am  2011-11-05 09:05:31 UTC (rev 18012)
+++ gnunet/src/ats/Makefile.am  2011-11-05 09:06:32 UTC (rev 18013)
@@ -22,7 +22,10 @@
 libgnunetats_la_LIBADD = \
  $(top_builddir)/src/util/libgnunetutil.la
 
+libgnunetats_la_LDFLAGS = \
+ $(GN_LIB_LDFLAGS)
 
+
 bin_PROGRAMS = \
  gnunet-service-ats
 

Modified: gnunet/src/block/Makefile.am
===================================================================
--- gnunet/src/block/Makefile.am        2011-11-05 09:05:31 UTC (rev 18012)
+++ gnunet/src/block/Makefile.am        2011-11-05 09:06:32 UTC (rev 18013)
@@ -73,6 +73,8 @@
  $(top_builddir)/src/util/libgnunetutil.la  
 libgnunetblock_la_DEPENDENCIES = \
  $(top_builddir)/src/util/libgnunetutil.la  
+libgnunetblock_la_LDFLAGS = \
+  $(GN_LIB_LDFLAGS)
 
 check_PROGRAMS = \
  test_block

Modified: gnunet/src/fragmentation/Makefile.am
===================================================================
--- gnunet/src/fragmentation/Makefile.am        2011-11-05 09:05:31 UTC (rev 
18012)
+++ gnunet/src/fragmentation/Makefile.am        2011-11-05 09:06:32 UTC (rev 
18013)
@@ -16,6 +16,8 @@
 libgnunetfragmentation_la_LIBADD = -lm \
  $(top_builddir)/src/statistics/libgnunetstatistics.la \
  $(top_builddir)/src/util/libgnunetutil.la  
+libgnunetfragmentation_la_LDFLAGS = \
+ $(GN_LIB_LDFLAGS)
 
 check_PROGRAMS = \
  test_fragmentation

Modified: gnunet/src/hello/Makefile.am
===================================================================
--- gnunet/src/hello/Makefile.am        2011-11-05 09:05:31 UTC (rev 18012)
+++ gnunet/src/hello/Makefile.am        2011-11-05 09:06:32 UTC (rev 18013)
@@ -15,6 +15,8 @@
   hello.c 
 libgnunethello_la_LIBADD = \
  $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
+libgnunethello_la_LDFLAGS = \
+  $(GN_LIB_LDFLAGS)
 
 check_PROGRAMS = \
  test_hello

Modified: gnunet/src/testing/Makefile.am
===================================================================
--- gnunet/src/testing/Makefile.am      2011-11-05 09:05:31 UTC (rev 18012)
+++ gnunet/src/testing/Makefile.am      2011-11-05 09:06:32 UTC (rev 18013)
@@ -46,6 +46,8 @@
  $(top_builddir)/src/hello/libgnunethello.la \
  -lm \
  $(top_builddir)/src/util/libgnunetutil.la 
+libgnunettesting_la_LDFLAGS = \
+ $(GN_LIB_LDFLAGS)
 
 check_PROGRAMS = \
  test_testing \

Modified: gnunet/src/transport/Makefile.am
===================================================================
--- gnunet/src/transport/Makefile.am    2011-11-05 09:05:31 UTC (rev 18012)
+++ gnunet/src/transport/Makefile.am    2011-11-05 09:06:32 UTC (rev 18013)
@@ -77,6 +77,8 @@
   $(GN_LIBINTL) 
 libgnunettransporttesting_la_DEPENDENCIES = \
   libgnunettransport.la
+libgnunettransporttesting_la_LDFLAGS = \
+ $(GN_LIB_LDFLAGS)
 
 libgnunettransport_la_SOURCES = \
   transport_api.c transport.h \

Modified: gnunet/src/util/Makefile.am
===================================================================
--- gnunet/src/util/Makefile.am 2011-11-05 09:05:31 UTC (rev 18012)
+++ gnunet/src/util/Makefile.am 2011-11-05 09:06:32 UTC (rev 18013)
@@ -14,7 +14,7 @@
   win.cc \
   winproc.c
 libgnunetutilwin_la_LDFLAGS = \
-  -Wl,--no-undefined -Wl,--export-all-symbols 
+  -no-undefined -Wl,--export-all-symbols 
 libgnunetutilwin_la_LIBADD = \
   -lshell32 -liconv -lstdc++ \
   -lcomdlg32 -lgdi32




reply via email to

[Prev in Thread] Current Thread [Next in Thread]