--- configure.in.orig	2004-12-05 14:24:42.000000000 -0600
+++ configure.in	2011-04-19 07:19:14.000000000 -0500
@@ -60,8 +60,8 @@
 dnl check gcc
 dnl
 if test -n "$GCC"; then
-   CFLAGS="-O3  -Wno-deprecated -Wall"
-   CXXFLAGS="-O3 -Wno-deprecated -Wall"
+   CFLAGS="$CFLAGS -Wno-deprecated -Wall"
+   CXXFLAGS="$CXXFLAGS -Wno-deprecated -Wall"
 fi
 
 dnl
