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