diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2004-06-20 18:21:45 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2004-06-20 18:21:45 +0000 |
commit | 95f1bc1f2aabc0dcac341dee4439e4d70b5b5834 (patch) | |
tree | 75259a72d5fffb38c35643f89914594e20c84ef9 /GNUmakefile | |
parent | c0aa5cf0c4df55a542a3f5c060fb840da4bc0b2d (diff) | |
download | cryptopp-95f1bc1f2aabc0dcac341dee4439e4d70b5b5834.tar.gz |
add more release build comments
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@176 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index de50af5..569b32f 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 |