From 7b123bab1e7916485e0f2b182d83b3aabf76a0cb Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 4 May 2007 19:19:52 +0000 Subject: [PATCH] revert -ffunction-sections -fdata-sections --- trunk/c5/GNUmakefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/trunk/c5/GNUmakefile b/trunk/c5/GNUmakefile index 24ac6283..8d5d97c3 100644 --- a/trunk/c5/GNUmakefile +++ b/trunk/c5/GNUmakefile @@ -1,5 +1,7 @@ -CXXFLAGS = -DNDEBUG -ffunction-sections -fdata-sections -g -O2 -LDFLAGS += -Wl,--gc-sections +CXXFLAGS = -DNDEBUG -g -O2 +# the following options reduce code size, but breaks link or makes link very slow on some systems +# CXXFLAGS += -ffunction-sections -fdata-sections +# LDFLAGS += -Wl,--gc-sections ARFLAGS = -cr # ar needs the dash on OpenBSD RANLIB = ranlib CP = cp