From c8ecc60886c7ed37559d938834ba4c1698cc3f2a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 28 Mar 2003 13:25:27 +0100 Subject: [PATCH] -Wall isn't portable, but running -O twice is --- test.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test.sh b/test.sh index ef1a74341..7a112341a 100755 --- a/test.sh +++ b/test.sh @@ -131,21 +131,21 @@ basetests() { checkstat 'cache hit' 4 testname="CCACHE_CPP2" - CCACHE_CPP2=1 $CCACHE_COMPILE -c test1.c -O -Wall + CCACHE_CPP2=1 $CCACHE_COMPILE -c test1.c -O -O checkstat 'cache hit' 4 checkstat 'cache miss' 3 - CCACHE_CPP2=1 $CCACHE_COMPILE -c test1.c -O -Wall + CCACHE_CPP2=1 $CCACHE_COMPILE -c test1.c -O -O checkstat 'cache hit' 5 checkstat 'cache miss' 3 testname="CCACHE_NOSTATS" - CCACHE_NOSTATS=1 $CCACHE_COMPILE -c test1.c -O -Wall + CCACHE_NOSTATS=1 $CCACHE_COMPILE -c test1.c -O -O checkstat 'cache hit' 5 checkstat 'cache miss' 3 testname="CCACHE_RECACHE" - CCACHE_RECACHE=1 $CCACHE_COMPILE -c test1.c -O -Wall + CCACHE_RECACHE=1 $CCACHE_COMPILE -c test1.c -O -O checkstat 'cache hit' 5 checkstat 'cache miss' 4 @@ -156,11 +156,11 @@ basetests() { testname="CCACHE_HASHDIR" - CCACHE_HASHDIR=1 $CCACHE_COMPILE -c test1.c -O -Wall + CCACHE_HASHDIR=1 $CCACHE_COMPILE -c test1.c -O -O checkstat 'cache hit' 5 checkstat 'cache miss' 5 - CCACHE_HASHDIR=1 $CCACHE_COMPILE -c test1.c -O -Wall + CCACHE_HASHDIR=1 $CCACHE_COMPILE -c test1.c -O -O checkstat 'cache hit' 6 checkstat 'cache miss' 5 -- 2.47.2