summaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2003-02-21 01:55:12 +0000
committerDJ Delorie <dj@delorie.com>2003-02-21 01:55:12 +0000
commite64b6cbeedc54103a6ad426a1a438bbe808956ba (patch)
treeebec4fdae7183b6053dd6bd5c377f929b5acd25b /Makefile.tpl
parent5f10a440378a61cec6c492c8b70c3fd22d4095bd (diff)
downloadgdb-e64b6cbeedc54103a6ad426a1a438bbe808956ba.tar.gz
* 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 a174e3ac0f3..21f74842bcd 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; \[+