- aarch64-suse-support.patch: Enable AArch64 suse toolchain support
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=271
This commit is contained in:
parent
a207a79745
commit
2244be35ef
16
aarch64-suse-support.patch
Normal file
16
aarch64-suse-support.patch
Normal file
@ -0,0 +1,16 @@
|
||||
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"
|
||||
};
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 11:07:16 UTC 2013 - schwab@suse.de
|
||||
|
||||
- aarch64-suse-support.patch: Enable AArch64 suse toolchain support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 11:02:06 UTC 2013 - idonmez@suse.com
|
||||
|
||||
|
@ -56,6 +56,8 @@ Patch6: arm_suse_support.diff
|
||||
# PATCH-FIX-OPENSUSE unreachable-code.patch -- Unreachable code warning triggered on SLE
|
||||
Patch7: unreachable-code.patch
|
||||
Patch8: cmake-host-triple.patch
|
||||
# PATCH-FIX-OPENSUSE aarch64-suse-support.patch -- Enable AArch64 suse toolchain support
|
||||
Patch9: aarch64-suse-support.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -163,6 +165,7 @@ This package contains vim plugins for LLVM like syntax highlighting.
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
# We hardcode i586
|
||||
rm tools/clang/test/Driver/x86_features.c
|
||||
|
Loading…
Reference in New Issue
Block a user