diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-19 06:07:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-19 06:07:22 +0000 |
commit | a9bfe856cf5b524f157cda222c8b2d07f1463be9 (patch) | |
tree | 28e6fb6223262a52d352b9a318897b5e33f26360 /make/valgrind.mk | |
parent | b885ae776f81c216927d5ef866ddf09b6778a49b (diff) |
Change from using "TARGET_CC1" to just plan "TARGET_CC"
which is a bit more sensible.
Diffstat (limited to 'make/valgrind.mk')
-rw-r--r-- | make/valgrind.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/make/valgrind.mk b/make/valgrind.mk index 566fe2eb9..221415339 100644 --- a/make/valgrind.mk +++ b/make/valgrind.mk @@ -22,7 +22,7 @@ $(VALGRIND_DIR)/.patched: $(VALGRIND_DIR)/.unpacked $(VALGRIND_DIR)/.configured: $(VALGRIND_DIR)/.patched (cd $(VALGRIND_DIR); rm -rf config.cache; \ - PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC1) \ + PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC) \ ./configure \ --target=$(GNU_TARGET_NAME) \ --prefix=/usr \ @@ -43,12 +43,12 @@ $(VALGRIND_DIR)/.configured: $(VALGRIND_DIR)/.patched touch $(VALGRIND_DIR)/.configured $(VALGRIND_DIR)/valgrind.so: $(VALGRIND_DIR)/.configured - $(MAKE) CC=$(TARGET_CC1) -C $(VALGRIND_DIR) + $(MAKE) CC=$(TARGET_CC) -C $(VALGRIND_DIR) -$(STRIP) --strip-unneeded $(VALGRIND_DIR)/*.so* touch -c $(VALGRIND_DIR)/valgrind.so $(TARGET_DIR)/usr/bin/valgrind: $(VALGRIND_DIR)/valgrind.so - PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC1) \ + PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC) \ $(MAKE) \ prefix=$(TARGET_DIR)/usr \ exec_prefix=$(TARGET_DIR)/usr \ |