]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Don't garbage-collect sections.
authorAndre Noll <maan@systemlinux.org>
Fri, 23 Nov 2007 17:15:52 +0000 (18:15 +0100)
committerAndre Noll <maan@systemlinux.org>
Fri, 23 Nov 2007 17:15:52 +0000 (18:15 +0100)
This does not work on Solaris, NetBSD and MacOS. Leave it in as
a comment though.

Makefile.in

index 6b76b075fa2df2b7ec6c55678a49ecae73857c76..5c76ff0e5b7425a0011d9370da6db121e9ff91f9 100644 (file)
@@ -26,7 +26,8 @@ DEBUG_CPPFLAGS += -Wredundant-decls
 # many warnings about trivial stuff
 # CPPFLAGS += -Wconversion
 
-LDFLAGS += -Wl,--gc-sections
+# uncomment this if your compiler supports it
+# LDFLAGS += -Wl,--gc-sections
 
 CPPFLAGS += -Os
 CPPFLAGS += -Wall