aboutsummaryrefslogtreecommitdiff
path: root/src/hello
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-05 09:06:32 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-05 09:06:32 +0000
commitb8fb774718de49d5a96e6cfa5b38a42b9f3f0e6a (patch)
tree3f1cdfbb5aecf88ab5fe27af29b81202241934b2 /src/hello
parent0bae85f2b4fe6e55a3f5164066afe64cf499432b (diff)
downloadgnunet-b8fb774718de49d5a96e6cfa5b38a42b9f3f0e6a.tar.gz
gnunet-b8fb774718de49d5a96e6cfa5b38a42b9f3f0e6a.zip
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.
Diffstat (limited to 'src/hello')
-rw-r--r--src/hello/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hello/Makefile.am b/src/hello/Makefile.am
index c2bc5cd69..61c84e50e 100644
--- a/src/hello/Makefile.am
+++ b/src/hello/Makefile.am
@@ -15,6 +15,8 @@ libgnunethello_la_SOURCES = \
15 hello.c 15 hello.c
16libgnunethello_la_LIBADD = \ 16libgnunethello_la_LIBADD = \
17 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) 17 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
18libgnunethello_la_LDFLAGS = \
19 $(GN_LIB_LDFLAGS)
18 20
19check_PROGRAMS = \ 21check_PROGRAMS = \
20 test_hello 22 test_hello