aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-03-11 09:14:43 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-03-11 09:14:43 -0300
commit4e01778e8809cf66e101064f969775568958fa03 (patch)
tree3484ccde911304f841cf85dcf7ce512c1544c1f3
parent22eaee7c5a86cb4db141215c40ff455ee322f90b (diff)
Added "-fno-rtti -fno-exceptions" to CXXFLAGS (reduces binary size)
-rw-r--r--ChangeLog2
-rw-r--r--configure.in5
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f4dfe0c1..b775276b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)