add more release build comments
parent
bdf3852cf0
commit
9906ce0dd2
|
|
@ -1,9 +1,10 @@
|
||||||
# can't use -fno-rtti yet because it causes problems with exception handling in GCC 2.95.2
|
# can't use -fno-rtti yet because it causes problems with exception handling in GCC 2.95.2
|
||||||
CXXFLAGS = -g
|
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++.
|
# 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.
|
# 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
|
# CXXFLAGS = -O2 -DNDEBUG -ffunction-sections -fdata-sections
|
||||||
# LDFLAGS = -Wl,--gc-sections
|
# LDFLAGS = -Wl,--gc-sections
|
||||||
ARFLAGS = -cr # ar needs the dash on OpenBSD
|
ARFLAGS = -cr # ar needs the dash on OpenBSD
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue