summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c0e12bcbb..806fd1b79 100644
--- a/Makefile
+++ b/Makefile
@@ -758,7 +758,7 @@ ifeq ($(GCCVER),2)
define compile_target_c
$$(OBJROOT)/$(2): $$(OBJROOT)/created $$(DEPROOT)/$(3)
$$(VQ)echo " COMPILE: $(1)"
- $$(Q)$$(CXX) $$(CFLAGS) -o $$@ -c $(1)
+ $$(Q)$$(CC) $$(CFLAGS) -o $$@ -c $(1)
endef
else