projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b28955
)
Get LLVMGCCARCH right regardless of the llvm-gcc version being used.
author
Reid Spencer
<rspencer@reidspencer.com>
Sun, 5 Nov 2006 20:10:16 +0000
(20:10 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sun, 5 Nov 2006 20:10:16 +0000
(20:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31467
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile.config.in
patch
|
blob
|
history
diff --git
a/Makefile.config.in
b/Makefile.config.in
index 7ed58f7196e01ed7e2d85f7d327b4e01924ac7c9..2652db3bb9f629feaded1ef3f902a8165f6b8e20 100644
(file)
--- a/
Makefile.config.in
+++ b/
Makefile.config.in
@@
-174,7
+174,11
@@
LIBS := @LIBS@
LLVMGCCDIR := @LLVMGCCDIR@
# Determine the target for which LLVM should generate code.
+ifeq (@LLVMGCC_MAJVERS@,3)
LLVMGCCARCH := @target@/3.4-llvm
+else
+LLVMGCCARCH := @target@/@LLVMGCC_VERSION@
+endif
# Full pathnames of LLVM C/C++ front-end 'cc1' and 'cc1plus' binaries:
LLVMGCC := @LLVMGCC@