Disable lto to account for dodgy Win32 compiler

This commit is contained in:
Danny Robson 2011-09-25 14:24:25 +10:00
parent 3b767a1c73
commit b210729fe9

View File

@ -116,12 +116,6 @@ if test "x$ac_cv_debugging" = "xyes"; then
COMMON_CFLAGS="$COMMON_CFLAGS -D_FORTIFY_SOURCE=2" COMMON_CFLAGS="$COMMON_CFLAGS -D_FORTIFY_SOURCE=2"
else else
AS_CXX_COMPILER_FLAG([-flto], [ac_cv_flto=yes])
if test "x$ac_cv_flto" = "xyes"; then
COMMON_CFLAGS="$COMMON_CFLAGS -flto"
COMMON_LDFLAGS="-flto"
fi
COMMON_CFLAGS="$COMMON_CFLAGS -O2" COMMON_CFLAGS="$COMMON_CFLAGS -O2"
fi fi