From f5cc6fb72d8ec570fbff306e5e59c45be12390f3 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 26 Jul 2015 10:00:58 +0300 Subject: [PATCH] Don't use clang for anything except or1k. --- software/common.mak | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/software/common.mak b/software/common.mak index 154e028a..925fafe3 100644 --- a/software/common.mak +++ b/software/common.mak @@ -4,8 +4,13 @@ TARGET_PREFIX=$(TRIPLE)- RM ?= rm -f +ifeq ($(CPU),or1k) CC_normal := clang -target $(TRIPLE) CX_normal := clang++ -target $(TRIPLE) +else +CC_normal := $(TARGET_PREFIX)gcc +CX_normal := $(TARGET_PREFIX)g++ +endif AR_normal := $(TARGET_PREFIX)ar LD_normal := $(TARGET_PREFIX)ld OBJCOPY_normal := $(TARGET_PREFIX)objcopy -- 2.30.2