From 75a13f6bcbefa39a9b0dea5b78ac8ff696aace5c Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 5 Feb 2004 13:56:04 +0000 Subject: [PATCH] only enable -Winline together with -O --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 9f6f564..493e35a 100644 --- a/configure.in +++ b/configure.in @@ -15,7 +15,7 @@ AC_ARG_ENABLE(lame, PACKAGE=swftools VERSION=0.5.0_pre1 -WARNINGS="-Wparentheses -Wimplicit -Wreturn-type -Winline" +WARNINGS="-Wparentheses -Wimplicit -Wreturn-type" if test "x$ENABLE_WARNINGS" '!=' "x";then WARNINGS="-Wall -Wno-unused -Wno-format" fi @@ -30,8 +30,8 @@ if test "x$DEBUG" '!=' "x";then export STRIP AC_SUBST(STRIP) else if test "x$OPTIMIZE" '!=' "x"; then - CFLAGS="$WARNINGS -O3 -fomit-frame-pointer $CFLAGS" - CXXFLAGS="$WARNINGS -O3 -fomit-frame-pointer $CXXFLAGS" + CFLAGS="$WARNINGS -O3 -fomit-frame-pointer -Winline $CFLAGS" + CXXFLAGS="$WARNINGS -O3 -fomit-frame-pointer -Winline $CXXFLAGS" else CFLAGS="$WARNINGS -O -fomit-frame-pointer $CFLAGS" CXXFLAGS="$WARNINGS -O -fomit-frame-pointer $CXXFLAGS" -- 1.7.10.4