updates.
[silc.git] / configure.ad
index cb6ed7f8b1af69355d4f64f8c9e79baa44be6b43..9ee80ef904c0a1a3d0f2696b83e8e8cd89c8eb68 100644 (file)
@@ -44,7 +44,9 @@ case "$target" in
     ;;
 esac
 
-CFLAGS=
+# Control compiler optimizations
+CFLAGS=`echo $CFLAGS | sed 's/-O[ 0123456789s]*//g'`
+
 AC_PROG_CC
 AC_C_INLINE
 AC_C_CONST