diff -ru cheese-0.2.3.orig/toc2/tests/gnu_cpp_tools.sh cheese-0.2.3/toc2/tests/gnu_cpp_tools.sh
--- cheese-0.2.3.orig/toc2/tests/gnu_cpp_tools.sh 2007年 6月 30日 六 07:17:29
+++ cheese-0.2.3/toc2/tests/gnu_cpp_tools.sh 2007年 8月 30日 四 16:49:31
@@ -59,7 +59,7 @@
elif test "x${configure_enable_debug}" = x0; then
# What's a sensible default here? -O2? Put it first in the hopes
# that any values already in $CFLAGS_OPT will take precedence.
- CFLAGS_OPT="-O2 $CFLAGS_OPT -DNDEBUG"
+ CFLAGS_OPT="-xO4 $CFLAGS_OPT -DNDEBUG"
else
# They specified some flags.
CFLAGS_OPT="$configure_enable_debug"
@@ -68,7 +68,7 @@
toc2_export CFLAGS_OPT="$CFLAGS_OPT"
if test "x${configure_enable_warn}" = x1; then
- WARN="-Wall $WARN"
+ WARN="-v $WARN"
elif test "x${configure_enable_warn}" = x0; then
WARN=
else
@@ -78,7 +78,7 @@
if test "x${configure_enable_werror}" != x0; then
if test "x${configure_enable_werror}" = x1; then
- WARN="-Wall -Werror $WARN"
+ WARN="-v -Xc $WARN"
else
WARN="$WARN ${configure_enable_werror}"
fi