b077f75c78
- fix arm_suse_support.diff for armv6hl - adjust compile flags for llvm on armv6hl (fixes Mesa build) OBS-URL: https://build.opensuse.org/request/show/390724 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=451
25 lines
1.5 KiB
Diff
25 lines
1.5 KiB
Diff
Index: cfe-3.8.0.src/lib/Driver/ToolChains.cpp
|
|
===================================================================
|
|
--- cfe-3.8.0.src/lib/Driver/ToolChains.cpp.orig
|
|
+++ cfe-3.8.0.src/lib/Driver/ToolChains.cpp
|
|
@@ -1418,7 +1418,7 @@ bool Generic_GCC::GCCInstallationDetecto
|
|
static const char *const AArch64LibDirs[] = {"/lib64", "/lib"};
|
|
static const char *const AArch64Triples[] = {
|
|
"aarch64-none-linux-gnu", "aarch64-linux-gnu", "aarch64-linux-android",
|
|
- "aarch64-redhat-linux"};
|
|
+ "aarch64-redhat-linux", "aarch64-suse-linux"};
|
|
static const char *const AArch64beLibDirs[] = {"/lib"};
|
|
static const char *const AArch64beTriples[] = {"aarch64_be-none-linux-gnu",
|
|
"aarch64_be-linux-gnu"};
|
|
@@ -1427,7 +1427,9 @@ bool Generic_GCC::GCCInstallationDetecto
|
|
static const char *const ARMTriples[] = {"arm-linux-gnueabi",
|
|
"arm-linux-androideabi"};
|
|
static const char *const ARMHFTriples[] = {"arm-linux-gnueabihf",
|
|
- "armv7hl-redhat-linux-gnueabi"};
|
|
+ "armv7hl-redhat-linux-gnueabi",
|
|
+ "armv6hl-suse-linux-gnueabi",
|
|
+ "armv7hl-suse-linux-gnueabi"};
|
|
static const char *const ARMebLibDirs[] = {"/lib"};
|
|
static const char *const ARMebTriples[] = {"armeb-linux-gnueabi",
|
|
"armeb-linux-androideabi"};
|