From: Andre Noll Date: Fri, 23 Nov 2007 17:15:52 +0000 (+0100) Subject: Don't garbage-collect sections. X-Git-Tag: v0.3.0~103^2~1 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=295c14126da50e77a14fe075b71d885a7b469b4a;p=paraslash.git Don't garbage-collect sections. This does not work on Solaris, NetBSD and MacOS. Leave it in as a comment though. --- diff --git a/Makefile.in b/Makefile.in index 6b76b075..5c76ff0e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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