added CPPFLAGS, used by the host port
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4264
4a8a32a2-be11-0410-ad9d-
d568d2c75423
src/pic/Makefile.in, src/xa51/Makefile.in, src/z80/Makefile.in:
reverted changes from 2006-07-03
* Makefile.common.in: added @CPPFLAGS@ to CPPFLAGS
+ * support/regression/Makefile.in, support/regression/ports/host/spec.mk:
+ added CPPFLAGS, used by the host port
2006-07-03 Bernhard Held <bernhard AT bernhardheld.de>
.SILENT:
CC = @CC@
+CPPFLAGS = @CPPFLAGS@
# support VPATH:
VPATH = @srcdir@
# 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 -fsigned-char -fpack-struct -DREENTRANT= -I$(top_builddir) -I$(top_srcdir)
+SDCCFLAGS = $(CPPFLAGS) -DPORT_HOST=1 -fsigned-char -fpack-struct -DREENTRANT= -I$(top_builddir) -I$(top_srcdir)
# disable all warnings:
SDCCFLAGS+= -w
# enable all warnings: