Ticket #37839: optflags.patch
File optflags.patch, 523 bytes (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
configure.ac
old new 1215 1215 AC_DEFINE([NDEBUG], [1], [Define to disable debugging features]) 1216 1216 fi 1217 1217 1218 # Add the appropriate 'O' level for optimized builds1219 if test "$enable_optimizations" = "yes"; then1220 CXXFLAGS="$CXXFLAGS -O2"1221 CFLAGS="$CFLAGS -O2"1222 else1223 CXXFLAGS="$CXXFLAGS -O0"1224 CFLAGS="$CFLAGS -O0"1225 fi1226 1218 1227 1219 PKG_CHECK_MODULES([LIBSOUP], 1228 1220 [libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION])