summaryrefslogtreecommitdiffstats
path: root/tools/gdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gdb/Makefile')
-rw-r--r--tools/gdb/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gdb/Makefile b/tools/gdb/Makefile
index c44cc8a555..0a5687de77 100644
--- a/tools/gdb/Makefile
+++ b/tools/gdb/Makefile
@@ -38,7 +38,7 @@ BINS := $(addprefix $(obj),$(BINS))
# Use native tools and options
#
CPPFLAGS = -I$(BFD_ROOT_DIR)/include
-CFLAGS = $(HOST_CFLAGS) -O $(CPPFLAGS)
+CFLAGS = $(HOSTCFLAGS) -O $(CPPFLAGS)
CC = $(HOSTCC)
MAKEDEPEND = makedepend
OpenPOWER on IntegriCloud