From 61fe8b02909f638a77918af090315e995bec7d10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 13 Mar 2015 14:33:16 +0000 Subject: [PATCH] Add more -O level variety in all.sh --- tests/scripts/all.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 83e3caf87..14c925d41 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -129,9 +129,9 @@ cleanup cmake -D CMAKE_BUILD_TYPE:String=Debug . tests/scripts/curves.pl -msg "build: Unix make, -O2 (gcc)" # ~ 30s +msg "build: Unix make, -Os (gcc)" # ~ 30s cleanup -CC=gcc CFLAGS=-Werror make +CC=gcc CFLAGS='-Werror -Os' make # this is meant to cath missing #define polarssl_printf etc # disable fsio to catch some more missing #include @@ -144,7 +144,7 @@ scripts/config.pl unset POLARSSL_PLATFORM_MEMORY scripts/config.pl unset POLARSSL_MEMORY_C scripts/config.pl unset POLARSSL_MEMORY_BUFFER_ALLOC_C scripts/config.pl unset POLARSSL_FS_IO -CC=gcc CFLAGS=-Werror make +CC=gcc CFLAGS='-Werror -O0' make if uname -a | grep -F x86_64 >/dev/null; then msg "build: i386, make, gcc" # ~ 30s