diff options
author | Ivan Kuten <ivan.kuten@promwad.com> | 2007-10-19 17:51:00 +0000 |
---|---|---|
committer | Ivan Kuten <ivan.kuten@promwad.com> | 2007-10-19 17:51:00 +0000 |
commit | 587c4892e5288719bdc379a9653dcecb4bc24b2e (patch) | |
tree | 1cc40777440715c450383b7726259debb193dd7d /toolchain/gcc/gcc-uclibc-3.x.mk | |
parent | b2683e4d2c59cb3e8a5fe0e2500ac6625e8f60bf (diff) | |
download | buildroot-novena-587c4892e5288719bdc379a9653dcecb4bc24b2e.tar.gz buildroot-novena-587c4892e5288719bdc379a9653dcecb4bc24b2e.zip |
fix libmudflap build failure for 4.1.2 gcc - pass CPP=<target_cpp>, thanks to Hamish Moffatt
Diffstat (limited to 'toolchain/gcc/gcc-uclibc-3.x.mk')
-rw-r--r-- | toolchain/gcc/gcc-uclibc-3.x.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk index 927521c4d..25316cfb7 100644 --- a/toolchain/gcc/gcc-uclibc-3.x.mk +++ b/toolchain/gcc/gcc-uclibc-3.x.mk @@ -242,6 +242,7 @@ $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(GCC_STAGING_PREREQ) (cd $(GCC_BUILD_DIR2); rm -rf config.cache; \ $(HOST_CONFIGURE_OPTS) \ GCC=$(TARGET_CROSS)gcc \ + CPP=$(TARGET_CROSS)cpp \ LDFLAGS_FOR_TARGET="$(patsubst %,LDFLAGS+=-Wl$(comma)%,$(TARGET_LDFLAGS)) -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \ $(GCC_DIR)/configure \ --prefix=$(STAGING_DIR) \ @@ -267,7 +268,7 @@ $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(GCC_STAGING_PREREQ) touch $@ $(GCC_BUILD_DIR2)/.compiled: $(GCC_BUILD_DIR2)/.configured - PATH=$(TARGET_PATH) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(GCC_BUILD_DIR2) all + PATH=$(TARGET_PATH) $(MAKE) $(HOST_CONFIGURE_OPTS) CPP=$(TARGET_CROSS)cpp -C $(GCC_BUILD_DIR2) all touch $@ $(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled |