summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-06-20 18:21:45 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-06-20 18:21:45 +0000
commitc52870135d3f85a7b84d4ab4e904f45a2d0576f6 (patch)
tree73d124bca7d0ec4e33316307b54585981b96917e
parentff96851f74cf17ffb94c5e73612c64ae309489a8 (diff)
downloadcryptopp-c52870135d3f85a7b84d4ab4e904f45a2d0576f6.tar.gz
add more release build comments
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk@176 57ff6487-cd31-0410-9ec3-f628ee90f5f0
-rw-r--r--c5/GNUmakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/c5/GNUmakefile b/c5/GNUmakefile
index de50af5..569b32f 100644
--- a/c5/GNUmakefile
+++ b/c5/GNUmakefile
@@ -1,9 +1,10 @@
# can't use -fno-rtti yet because it causes problems with exception handling in GCC 2.95.2
CXXFLAGS = -g
-# Uncomment the next two lines to do a release build.
+# Uncomment the following two lines to do a release build.
# Note that you must define NDEBUG for your own application if you define it for Crypto++.
-# Also, make sure you run the validation tests and test your own program thoroughly
+# Make sure you run the validation tests and test your own program thoroughly
# after turning on -O2. The GCC optimizer may have bugs that cause it to generate incorrect code.
+# Try removing -fdata-sections if you get "undefined external reference" errors.
# CXXFLAGS = -O2 -DNDEBUG -ffunction-sections -fdata-sections
# LDFLAGS = -Wl,--gc-sections
ARFLAGS = -cr # ar needs the dash on OpenBSD