From d1bef3bf8c4e2e4c40ff3503c51e5fd57cc4d075 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 2 May 2005 06:30:18 +0000 Subject: [PATCH] get -Wsign-compare check into the right place --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 59a9dcfe2..e9880857e 100644 --- a/configure.ac +++ b/configure.ac @@ -1413,7 +1413,6 @@ if test "x$optimize" = xyes; then CFLAGS="" QF_CC_OPTION(-frename-registers) QF_CC_OPTION(-finline-limit=32000 -Winline) - QF_CC_OPTION(-Wsign-compare) heavy="-O2 $CFLAGS -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations" CFLAGS="$saved_cflags" light="-O2" @@ -1528,6 +1527,7 @@ fi if test "x$check_pipe" = xyes; then QF_CC_OPTION(-pipe) fi +QF_CC_OPTION(-Wsign-compare) dnl QuakeForge uses lots of BCPL-style (//) comments, which can cause problems dnl with many compilers that don't support the latest ISO standards. Well,