2244be35ef
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=271
17 lines
763 B
Diff
17 lines
763 B
Diff
Index: llvm-3.3/tools/clang/lib/Driver/ToolChains.cpp
|
|
===================================================================
|
|
--- llvm-3.3.orig/tools/clang/lib/Driver/ToolChains.cpp
|
|
+++ llvm-3.3/tools/clang/lib/Driver/ToolChains.cpp
|
|
@@ -1073,9 +1073,10 @@ Generic_GCC::GCCInstallationDetector::GC
|
|
// Declare a bunch of static data sets that we'll select between below. These
|
|
// are specifically designed to always refer to string literals to avoid any
|
|
// lifetime or initialization issues.
|
|
- static const char *const AArch64LibDirs[] = { "/lib" };
|
|
+ static const char *const AArch64LibDirs[] = { "/lib64", "/lib" };
|
|
static const char *const AArch64Triples[] = {
|
|
"aarch64-none-linux-gnu",
|
|
+ "aarch64-suse-linux",
|
|
"aarch64-linux-gnu"
|
|
};
|
|
|