* support/regression/valdiag/tests/switch.c,
[fw/sdcc] / support / regression / ports / host / spec.mk
index ab3f89f440158466fa155b408a39de0d06bb0520..8112dd4690861188a68a776b8697546f567712eb 100644 (file)
@@ -1,6 +1,10 @@
 # Port specification for compiling on the host machines version of gcc
 SDCC = $(shell ( sh -c "gcc --version" 2>&1 ) > /dev/null  && echo gcc || echo cc)
-SDCCFLAGS = -DPORT_HOST=1 -Wall -fsigned-char -fpack-struct -DREENTRANT= -I$(top_builddir) -I$(top_srcdir)
+SDCCFLAGS = -DPORT_HOST=1 -fsigned-char -fpack-struct -DREENTRANT= -I$(top_builddir) -I$(top_srcdir)
+# disable all warnings:
+SDCCFLAGS+= -w
+# enable all warnings:
+#SDCCFLAGS+= -Wall
 
 EXEEXT = .bin
 OBJEXT = .o