* support/regression/Makefile.in, support/regression/ports/host/spec.mk:
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 4 Jul 2006 13:18:44 +0000 (13:18 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 4 Jul 2006 13:18:44 +0000 (13:18 +0000)
  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

ChangeLog
support/regression/Makefile.in
support/regression/ports/host/spec.mk

index f3b8d87aeaaa783ed952b66c6370d0998193d60d..265074b96d98fd7b24594365c734741482c66814 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,8 @@
          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>
 
index e03728959919057bb4835fb8f9450784c45e0d33..ab3c6f5f44c4409e4729248672fa33e02f17064d 100644 (file)
@@ -41,6 +41,7 @@
 .SILENT:
 
 CC = @CC@
+CPPFLAGS = @CPPFLAGS@
 
 # support VPATH:
 VPATH        = @srcdir@
index 8112dd4690861188a68a776b8697546f567712eb..e48551c9cd87ba8c927bccc063ee0452655c8f01 100644 (file)
@@ -1,6 +1,6 @@
 # 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: