Skip to content

Commit

Permalink
Don't use clang for anything except or1k.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Jul 26, 2015
1 parent d03dabb commit f5cc6fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions software/common.mak
Expand Up @@ -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
Expand Down

0 comments on commit f5cc6fb

Please sign in to comment.