359cf1e322
- Refresh patches * aarch64-suse-support.patch * arm_suse_support.diff * assume-opensuse.patch * default-to-i586.patch - Drop upstream patches * llvm-disable-pretty-stack-trace.patch * r189852.diff * unreachable-code.patch OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=287
16 lines
885 B
Diff
16 lines
885 B
Diff
Index: llvm/tools/clang/lib/Driver/ToolChains.cpp
|
|
===================================================================
|
|
--- llvm.orig/tools/clang/lib/Driver/ToolChains.cpp
|
|
+++ llvm/tools/clang/lib/Driver/ToolChains.cpp
|
|
@@ -1110,8 +1110,9 @@ void Generic_GCC::GCCInstallationDetecto
|
|
// 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" };
|
|
|
|
static const char *const ARMLibDirs[] = { "/lib" };
|