summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-05-04 19:19:52 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-05-04 19:19:52 +0000
commitce81ba495d18dce45a4fa5142cc3030e7c12a2e3 (patch)
tree3c7d1520f8ef92cedbea21b3b9847cccab890955 /GNUmakefile
parent2cf52d3fcbabd3caf3b4170da28f73b74bc469b0 (diff)
downloadcryptopp-ce81ba495d18dce45a4fa5142cc3030e7c12a2e3.tar.gz
revert -ffunction-sections -fdata-sections
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@347 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 4 insertions, 2 deletions
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