- Add llvm-fix-parsearmarch.patch to fix parsing armv{6,7}hl archs.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=412
This commit is contained in:
parent
6595913fdc
commit
3cd250cd98
16
llvm-fix-parsearmarch.patch
Normal file
16
llvm-fix-parsearmarch.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Index: llvm-3.6.0.src/lib/Support/Triple.cpp
|
||||
===================================================================
|
||||
--- llvm-3.6.0.src.orig/lib/Support/Triple.cpp
|
||||
+++ llvm-3.6.0.src/lib/Support/Triple.cpp
|
||||
@@ -270,9 +270,9 @@ static Triple::ArchType parseARMArch(Str
|
||||
.Cases("v3", "v3m", isThumb ? Triple::UnknownArch : arch)
|
||||
.Cases("v4", "v4t", arch)
|
||||
.Cases("v5", "v5e", "v5t", "v5te", "v5tej", arch)
|
||||
- .Cases("v6", "v6j", "v6k", "v6m", arch)
|
||||
+ .Cases("v6", "v6hl", "v6j", "v6k", "v6m", arch)
|
||||
.Cases("v6t2", "v6z", "v6zk", arch)
|
||||
- .Cases("v7", "v7a", "v7em", "v7l", arch)
|
||||
+ .Cases("v7", "v7a", "v7em", "v7hl", "v7l", arch)
|
||||
.Cases("v7m", "v7r", "v7s", arch)
|
||||
.Cases("v8", "v8a", arch)
|
||||
.Default(Triple::UnknownArch);
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 24 12:19:33 UTC 2015 - idonmez@suse.com
|
||||
|
||||
- Add llvm-fix-parsearmarch.patch to fix parsing armv{6,7}hl archs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 2 10:12:32 UTC 2015 - idonmez@suse.com
|
||||
|
||||
|
@ -63,6 +63,7 @@ Patch10: clang-resourcedirs.patch
|
||||
Patch11: libcxxabi-exceptions.patch
|
||||
Patch13: llvm-remove-clang-only-flags.patch
|
||||
Patch15: llvm-fix-find-gcc5-install.patch
|
||||
Patch16: llvm-fix-parsearmarch.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: binutils-devel >= 2.21.90
|
||||
BuildRequires: bison
|
||||
@ -166,6 +167,7 @@ This package contains the Python bindings to clang (C language) frontend for LLV
|
||||
%patch11
|
||||
%patch13 -p1
|
||||
%patch15
|
||||
%patch16 -p1
|
||||
|
||||
# Move into right place
|
||||
mv cfe-%{version}.src tools/clang
|
||||
|
Loading…
Reference in New Issue
Block a user