aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-02-21 01:55:12 +0000
committerDJ Delorie <dj@redhat.com>2003-02-21 01:55:12 +0000
commitd4806224b6a673a9d7a73d7849721852b7b77f47 (patch)
tree9792ab7e9b47faced50897162db950e4b1808520 /Makefile.tpl
parentf8bcdf079fca91da9a3f945adae23ca5ac82cf42 (diff)
downloadnewlib-d4806224b6a673a9d7a73d7849721852b7b77f47.zip
newlib-d4806224b6a673a9d7a73d7849721852b7b77f47.tar.gz
newlib-d4806224b6a673a9d7a73d7849721852b7b77f47.tar.bz2
* Makefile.tpl: Add definition of CPPFLAGS to pass into
configure-target-* as some target builds may require additional flags for preprocessor tests. * Makefile.in: Regenerated.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index a174e3a..21f7484 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -987,7 +987,8 @@ configure-target-[+module+]: $(TARGET_SUBDIR)/[+module+]/multilib.out
AR="$(AR_FOR_TARGET)"; export AR; \
AS="$(AS_FOR_TARGET)"; export AS; \
CC="$(CC_FOR_TARGET)"; export CC; \
- CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \[+
+ CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
+ CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \[+
IF raw_cxx +]
CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \[+