From da13ea1992dfb413ec39ecd79ef35e58f7e26484 Mon Sep 17 00:00:00 2001 From: borutr Date: Tue, 4 Jul 2006 13:18:44 +0000 Subject: [PATCH] * support/regression/Makefile.in, support/regression/ports/host/spec.mk: 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 | 2 ++ support/regression/Makefile.in | 1 + support/regression/ports/host/spec.mk | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f3b8d87a..265074b9 100644 --- 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 diff --git a/support/regression/Makefile.in b/support/regression/Makefile.in index e0372895..ab3c6f5f 100644 --- a/support/regression/Makefile.in +++ b/support/regression/Makefile.in @@ -41,6 +41,7 @@ .SILENT: CC = @CC@ +CPPFLAGS = @CPPFLAGS@ # support VPATH: VPATH = @srcdir@ diff --git a/support/regression/ports/host/spec.mk b/support/regression/ports/host/spec.mk index 8112dd46..e48551c9 100644 --- a/support/regression/ports/host/spec.mk +++ b/support/regression/ports/host/spec.mk @@ -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: -- 2.47.2