Merged silc_1_1_branch to trunk.
[silc.git] / lib / silccrypt / configure.ad
index 283a5ee92ec21c37d91e97ceb36fec3ebff7c3a3..dbc58ab636f0c7f3b64db59676fe106c83d0e16d 100644 (file)
@@ -45,7 +45,7 @@ esac
 fi
 
 SILC_ADD_CC_FLAGS(SILC_CRYPTO, -fno-regmove)
-if test x$summary_debug = xno; then
+if test x$summary_debug = xno -a x$want_cc_optimizations = xtrue; then
   SILC_ADD_CC_FLAGS(SILC_CRYPTO, -fomit-frame-pointer -O3)
 fi