mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
Patch the clang target selection code to support amd64 in addition to
x86_64 in triples. Reported by: Michael Reifenberger <mike at reifenberger dot com>
This commit is contained in:
parent
f0b98c380e
commit
8b9a01f2d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228736
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= llvm
|
||||
DISTVERSION= 2.4.snap${SNAPDATE}
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel lang
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= brooks
|
||||
|
@ -0,0 +1,14 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- tools/clang/lib/Basic/Targets.cpp.orig
|
||||
+++ tools/clang/lib/Basic/Targets.cpp
|
||||
@@ -1012,7 +1012,7 @@
|
||||
return new SparcV8TargetInfo(T);
|
||||
}
|
||||
|
||||
- if (T.find("x86_64-") == 0) {
|
||||
+ if (T.find("x86_64-") == 0 || T.find("amd64-") == 0) {
|
||||
if (isDarwin)
|
||||
return new DarwinX86_64TargetInfo(T);
|
||||
if (isLinux)
|
Loading…
Reference in New Issue
Block a user