diff options
-rw-r--r-- | test/Rules.mak | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Rules.mak b/test/Rules.mak index 1700195aa..00abb880f 100644 --- a/test/Rules.mak +++ b/test/Rules.mak @@ -22,6 +22,9 @@ STRIPTOOL=strip # Check if 'ls -sh' works or not LSFLAGS = -l +# turn all the warnings on +WARNINGS=-Wall + # use '-Os' optimization if available, else use -O2 OPTIMIZATION = $(shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \ then echo "-Os"; else echo "-O2" ; fi) |