diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | configure.in | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -47,6 +47,8 @@ dillo-2.1 Patches: Jeremy Henty +- Implemented Basic authentication! Patch: Jeremy Henty, Jorge Arellano Cid ++- Added "-fno-rtti -fno-exceptions" to CXXFLAGS (reduces binary size). + Patch: Jorge Arellano Cid, place (AKA corvid) +- Allowed compilation with older machines by removing a few C99isms. - Added use of inttypes.h when stdint.h isn't found. Patches: Dan Fandrich diff --git a/configure.in b/configure.in index 6c366ca8..17baa14b 100644 --- a/configure.in +++ b/configure.in @@ -481,7 +481,10 @@ dnl ----------- dnl CXX options dnl ----------- dnl -CXXFLAGS="$CXXFLAGS -Wall -W -Wno-unused-parameter" + +if eval "test x$GCC = xyes"; then + CXXFLAGS="$CXXFLAGS -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions" +fi AC_SUBST(LIBJPEG_LIBS) AC_SUBST(LIBJPEG_LDFLAGS) |