29 lines
1.5 KiB
Diff
29 lines
1.5 KiB
Diff
--- llvm-5.0.0.src/tools/clang/lib/Driver/ToolChains/Gnu.cpp.orig 2017-11-28 09:10:30.171661497 +0100
|
|
+++ llvm-5.0.0.src/tools/clang/lib/Driver/ToolChains/Gnu.cpp 2017-11-28 09:11:30.022800395 +0100
|
|
@@ -1808,7 +1808,8 @@
|
|
"aarch64_be-linux-gnu"};
|
|
|
|
static const char *const ARMLibDirs[] = {"/lib"};
|
|
- static const char *const ARMTriples[] = {"arm-linux-gnueabi",
|
|
+ static const char *const ARMTriples[] = {"arm-openmamba-linux-gnueabi",
|
|
+ "arm-linux-gnueabi",
|
|
"arm-linux-androideabi"};
|
|
static const char *const ARMHFTriples[] = {"arm-linux-gnueabihf",
|
|
"armv7hl-redhat-linux-gnueabi",
|
|
@@ -1822,6 +1823,7 @@
|
|
|
|
static const char *const X86_64LibDirs[] = {"/lib64", "/lib"};
|
|
static const char *const X86_64Triples[] = {
|
|
+ "x86_64-openmamba-linux-gnu",
|
|
"x86_64-linux-gnu", "x86_64-unknown-linux-gnu",
|
|
"x86_64-pc-linux-gnu", "x86_64-redhat-linux6E",
|
|
"x86_64-redhat-linux", "x86_64-suse-linux",
|
|
@@ -1831,6 +1833,7 @@
|
|
static const char *const X32LibDirs[] = {"/libx32"};
|
|
static const char *const X86LibDirs[] = {"/lib32", "/lib"};
|
|
static const char *const X86Triples[] = {
|
|
+ "i586-openmamba-linux-gnu",
|
|
"i686-linux-gnu", "i686-pc-linux-gnu", "i486-linux-gnu",
|
|
"i386-linux-gnu", "i386-redhat-linux6E", "i686-redhat-linux",
|
|
"i586-redhat-linux", "i386-redhat-linux", "i586-suse-linux",
|