diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-12-24 06:39:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-12-24 06:39:42 +0000 |
commit | 5d05aa8ed6989bcb5f7820f573cf834f28973445 (patch) | |
tree | 042d9d2e18db4ddb49c20eb7f62774ad9dfbfa09 | |
parent | 875161d0125a5fadf61210c2196519c2a23f9749 (diff) |
use target cflags
-rw-r--r-- | toolchain/ccache/ccache.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/toolchain/ccache/ccache.mk b/toolchain/ccache/ccache.mk index 60e99c6d1..e2fdd71cc 100644 --- a/toolchain/ccache/ccache.mk +++ b/toolchain/ccache/ccache.mk @@ -125,7 +125,7 @@ $(CCACHE_DIR2)/.configured: $(CCACHE_DIR2)/.patched touch $(CCACHE_DIR2)/.configured $(CCACHE_DIR2)/$(CCACHE_BINARY): $(CCACHE_DIR2)/.configured - $(MAKE) -C $(CCACHE_DIR2) + $(MAKE) -C $(CCACHE_DIR2) CFLAGS="$(TARGET_CFLAGS)" $(TARGET_DIR)/$(CCACHE_TARGET_BINARY): $(CCACHE_DIR2)/$(CCACHE_BINARY) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(CCACHE_DIR2) install @@ -144,9 +144,8 @@ ccache_target: uclibc $(TARGET_DIR)/$(CCACHE_TARGET_BINARY) ccache_target-sources: $(DL_DIR)/$(CCACHE_SOURCE) ccache_target-clean: - $(MAKE) DESTDIR=$(TARGET_DIR) -C $(CCACHE_DIR2) uninstall + rm -f $(TARGET_DIR)/$(CCACHE_TARGET_BINARY) -$(MAKE) -C $(CCACHE_DIR2) clean ccache_target-dirclean: rm -rf $(CCACHE_DIR2) - |