projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d03dabb
)
Don't use clang for anything except or1k.
author
whitequark
<whitequark@whitequark.org>
Sun, 26 Jul 2015 07:00:58 +0000
(10:00 +0300)
committer
whitequark
<whitequark@whitequark.org>
Sun, 26 Jul 2015 07:00:58 +0000
(10:00 +0300)
software/common.mak
patch
|
blob
|
history
diff --git
a/software/common.mak
b/software/common.mak
index 154e028a1317812f30c254a2627dd0e1a7637d2b..925fafe3b7441db568367ff1070349f0ee3dddda 100644
(file)
--- 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