summaryrefslogtreecommitdiff
path: root/make/gawk.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-19 06:07:22 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-19 06:07:22 +0000
commita9bfe856cf5b524f157cda222c8b2d07f1463be9 (patch)
tree28e6fb6223262a52d352b9a318897b5e33f26360 /make/gawk.mk
parentb885ae776f81c216927d5ef866ddf09b6778a49b (diff)
Change from using "TARGET_CC1" to just plan "TARGET_CC"
which is a bit more sensible.
Diffstat (limited to 'make/gawk.mk')
-rw-r--r--make/gawk.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/make/gawk.mk b/make/gawk.mk
index 32a6a7842..84e85c27e 100644
--- a/make/gawk.mk
+++ b/make/gawk.mk
@@ -21,7 +21,7 @@ $(GAWK_DIR)/.unpacked: $(DL_DIR)/$(GAWK_SOURCE)
$(GAWK_DIR)/.configured: $(GAWK_DIR)/.unpacked
(cd $(GAWK_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 \
@@ -39,17 +39,17 @@ $(GAWK_DIR)/.configured: $(GAWK_DIR)/.unpacked
touch $(GAWK_DIR)/.configured
$(GAWK_DIR)/$(GAWK_BINARY): $(GAWK_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC1) -C $(GAWK_DIR)
+ $(MAKE) CC=$(TARGET_CC) -C $(GAWK_DIR)
$(TARGET_DIR)/$(GAWK_TARGET_BINARY): $(GAWK_DIR)/$(GAWK_BINARY)
- $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC1) -C $(GAWK_DIR) install
+ $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GAWK_DIR) install
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
gawk: uclibc $(TARGET_DIR)/$(GAWK_TARGET_BINARY)
gawk-clean:
- $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC1) -C $(GAWK_DIR) uninstall
+ $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GAWK_DIR) uninstall
-$(MAKE) -C $(GAWK_DIR) clean
gawk-dirclean: