SHA256
1
0
forked from pool/llvm
llvm/arm_suse_support.diff
Ismail Dönmez 5385c8b9d0 Accepting request 178917 from home:tobijk:X11:XOrg
Review SR for llvm with cmake:
Please note:
1) Tests are commented out: Bug 15242
2) ARM Build failures due to incomplete build script (patches are fixed now)

-> But it at least builds Mesa with radeonsi driver enabled

OBS-URL: https://build.opensuse.org/request/show/178917
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=221
2013-06-14 14:24:42 +00:00

17 lines
646 B
Diff

--- /tools/clang/lib/Driver/ToolChains.cpp.orig 2012-11-22 10:26:49.202107824 +0100
+++ /tools/clang/lib/Driver/ToolChains.cpp 2012-11-22 12:20:33.662825882 +0100
@@ -1082,11 +1082,13 @@ Generic_GCC::GCCInstallationDetector::GC
static const char *const ARMLibDirs[] = { "/lib" };
static const char *const ARMTriples[] = {
"arm-linux-gnueabi",
+ "armv5tel-suse-linux-gnueabi",
"arm-linux-androideabi"
};
static const char *const ARMHFTriples[] = {
"arm-linux-gnueabihf",
+ "armv7hl-suse-linux-gnueabi"
"armv7hl-redhat-linux-gnueabi"
};
static const char *const X86_64LibDirs[] = { "/lib64", "/lib" };