summaryrefslogtreecommitdiff
path: root/Makefile.toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.toolchain')
-rw-r--r--Makefile.toolchain3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.toolchain b/Makefile.toolchain
index 69a3c3b9f3..c2e952d43b 100644
--- a/Makefile.toolchain
+++ b/Makefile.toolchain
@@ -31,7 +31,6 @@ ifeq ($(cc-name),gcc)
cxx-name:=g++
else
cxx-name:=clang++
-CROSS_COMPILE_arm:=arm-none-eabi-
endif
# Try not to assume too much about optional tools and prefixes
@@ -43,7 +42,7 @@ endif
AR=$(CROSS_COMPILE)ar
CC=$(CCACHE) $(CROSS_COMPILE)$(cc-name)
CPP=$(CC) -E
-CXX=$(CROSS_COMPILE)clang++
+CXX=$(CROSS_COMPILE)$(cxx-name)
LD=$(CROSS_COMPILE)ld
NM=$(CROSS_COMPILE)nm
OBJCOPY=$(CROSS_COMPILE)objcopy