summaryrefslogtreecommitdiffstats
path: root/make/gdb.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/gdb.mk
parentb885ae776f81c216927d5ef866ddf09b6778a49b (diff)
downloadbuildroot-novena-a9bfe856cf5b524f157cda222c8b2d07f1463be9.tar.gz
buildroot-novena-a9bfe856cf5b524f157cda222c8b2d07f1463be9.zip
Change from using "TARGET_CC1" to just plan "TARGET_CC"
which is a bit more sensible.
Diffstat (limited to 'make/gdb.mk')
-rw-r--r--make/gdb.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/gdb.mk b/make/gdb.mk
index 846035257..d4e304fd6 100644
--- a/make/gdb.mk
+++ b/make/gdb.mk
@@ -20,7 +20,7 @@ $(GDB_DIR)/.configured: $(GDB_DIR)/.unpacked
PATH=$(STAGING_DIR)/bin:$$PATH AR=$(TARGET_CROSS)ar \
AS=$(TARGET_CROSS)as LD=$(TARGET_CROSS)ld \
RANLIB=$(TARGET_CROSS)ranlib NM=$(TARGET_CROSS)nm \
- CC=$(TARGET_CC1) \
+ CC=$(TARGET_CC) \
./configure \
--target=$(GNU_TARGET_NAME) \
--prefix=/usr \
@@ -43,7 +43,7 @@ $(GDB_DIR)/.configured: $(GDB_DIR)/.unpacked
touch $(GDB_DIR)/.configured
$(GDB_DIR)/gdb/gdb: $(GDB_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC1) -C $(GDB_DIR)
+ $(MAKE) CC=$(TARGET_CC) -C $(GDB_DIR)
$(STRIP) $(GDB_DIR)/gdb/gdb
$(TARGET_DIR)/usr/bin/gdb: $(GDB_DIR)/gdb/gdb