summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2004-06-20 18:21:45 +0000
committerweidai <weidai11@users.noreply.github.com>2004-06-20 18:21:45 +0000
commit9906ce0dd204a91ec8cc356b6bee8bd86eedae50 (patch)
tree75259a72d5fffb38c35643f89914594e20c84ef9
parentbdf3852cf0cf46a2fbcce196339cbf51a0902e6d (diff)
downloadcryptopp-git-9906ce0dd204a91ec8cc356b6bee8bd86eedae50.tar.gz
add more release build comments
-rw-r--r--GNUmakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index de50af5f..569b32fc 100644
--- a/GNUmakefile
+++ b/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