Ver Fonte

Added -Wall

David Schleef há 23 anos atrás
pai
commit
4c6a1df6f5
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      test/Rules.mak

+ 3 - 0
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)