From ce81ba495d18dce45a4fa5142cc3030e7c12a2e3 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 4 May 2007 19:19:52 +0000 Subject: revert -ffunction-sections -fdata-sections git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@347 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- GNUmakefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 24ac628..8d5d97c 100644 --- a/GNUmakefile +++ b/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 -- cgit v1.2.1