summaryrefslogtreecommitdiffstats
path: root/make/gdb.mk
diff options
context:
space:
mode:
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