aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-09 16:21:52 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-09 23:25:07 +0200
commite627989ad847f6c7b295117334ce0abeb84dbdbb (patch)
tree5b2338ca4fd8493289f9ad1ca39cf672eaf36842
parent6bd1a449d61e2b7c989ec5a96037143b8f5024bb (diff)
downloadbuildroot-novena-e627989ad847f6c7b295117334ce0abeb84dbdbb.tar.gz
buildroot-novena-e627989ad847f6c7b295117334ce0abeb84dbdbb.zip
gawk: remove CC override
For some unknown reason, gawk.mk was overriding CC to $(TARGET_CC) at build time, while it had already been set at configure time to "$(TARGET_CC) $(TARGET_CFLAGS)" which is already the good value. Setting it to just $(TARGET_CC) breaks the compilation with external toolchains because we must pass the --sysroot option. But anyway, this was incorrect as we were loosing some CFLAGS set by Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gawk/gawk.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/gawk/gawk.mk b/package/gawk/gawk.mk
index 8886e6b3d..4dd1085b7 100644
--- a/package/gawk/gawk.mk
+++ b/package/gawk/gawk.mk
@@ -48,7 +48,7 @@ $(GAWK_DIR)/.configured: $(GAWK_DIR)/.unpacked
touch $@
$(GAWK_DIR)/$(GAWK_BINARY): $(GAWK_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC) -C $(GAWK_DIR)
+ $(MAKE) -C $(GAWK_DIR)
$(TARGET_DIR)/$(GAWK_TARGET_BINARY): $(GAWK_DIR)/$(GAWK_BINARY)
rm -f $(TARGET_DIR)/usr/bin/awk
@@ -61,7 +61,7 @@ $(TARGET_DIR)/$(GAWK_TARGET_BINARY): $(GAWK_DIR)/$(GAWK_BINARY)
gawk: $(TARGET_DIR)/$(GAWK_TARGET_BINARY)
gawk-clean:
- $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GAWK_DIR) uninstall
+ $(MAKE) DESTDIR=$(TARGET_DIR) -C $(GAWK_DIR) uninstall
-$(MAKE) -C $(GAWK_DIR) clean
gawk-dirclean: