Ticket #37839: optflags.patch

File optflags.patch, 523 bytes (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)
  • configure.ac

    old new  
    12151215   AC_DEFINE([NDEBUG], [1], [Define to disable debugging features])
    12161216fi
    12171217
    1218 # Add the appropriate 'O' level for optimized builds
    1219 if test "$enable_optimizations" = "yes"; then
    1220    CXXFLAGS="$CXXFLAGS -O2"
    1221    CFLAGS="$CFLAGS -O2"
    1222 else
    1223    CXXFLAGS="$CXXFLAGS -O0"
    1224    CFLAGS="$CFLAGS -O0"
    1225 fi
    12261218
    12271219PKG_CHECK_MODULES([LIBSOUP],
    12281220                  [libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION])