--- a/configure.ac
+++ b/configure.ac
@@ -237,8 +237,6 @@ dnl Apply options to defines
 if test "x$enable_debug" = "xyes" ; then
   CFLAGS="$CFLAGS -O0 -g3"
   AC_DEFINE([__DEBUG__], [1], [Build with debugging])
-else
-  CFLAGS="$CFLAGS -O6"
 fi
 
 dnl Asterisk header files use lots of old style declarations, ignore those.
