This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix for configuring targets that need extra flags (revisited)


2003-02-20  Sean McNeil  <sean at blue dot mcneil dot com>

	* Makefile.tpl: Add definition of CPPFLAGS to pass into
	configure-target-* as some target builds may require additional
	flags for preprocessor tests.

diff -c -3 -p -r1.34 Makefile.tpl
*** Makefile.tpl        19 Feb 2003 23:37:24 -0000      1.34
--- Makefile.tpl        20 Feb 2003 22:03:30 -0000
*************** configure-target-[+module+]: $(TARGET_SU
*** 987,993 ****
            AR="$(AR_FOR_TARGET)"; export AR; \
            AS="$(AS_FOR_TARGET)"; export AS; \
            CC="$(CC_FOR_TARGET)"; export CC; \
!           CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \[+
        IF raw_cxx +]
            CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export
CXX_FOR_TARGET; \
            CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \[+
--- 987,994 ----
            AR="$(AR_FOR_TARGET)"; export AR; \
            AS="$(AS_FOR_TARGET)"; export AS; \
            CC="$(CC_FOR_TARGET)"; export CC; \
!           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; \[+



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]