llvm: sync patches with Arch, it works now with gcc 4.[56].x.
This commit is contained in:
parent
3cc393402f
commit
e5312d9cfb
10 changed files with 111 additions and 4 deletions
12
srcpkgs/llvm/patches/clang-toolchains-gcc-versions.patch
Normal file
12
srcpkgs/llvm/patches/clang-toolchains-gcc-versions.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Make all gcc 4.[56] from xbps work.
|
||||
--- tools/clang/lib/Driver/ToolChains.cpp 2011-03-21 23:29:27.000000000 +0200
|
||||
+++ tools/clang/lib/Driver/ToolChains.cpp 2011-04-08 00:03:34.000000000 +0300
|
||||
@@ -1449,7 +1449,7 @@ Linux::Linux(const HostInfo &Host, const
|
||||
GccTriple = "i586-suse-linux";
|
||||
}
|
||||
|
||||
- const char* GccVersions[] = {"4.5.2", "4.5.1", "4.5", "4.4.5", "4.4.4",
|
||||
+ const char* GccVersions[] = {"4.6.2", "4.6", "4.5",
|
||||
"4.4.3", "4.4", "4.3.4", "4.3.3", "4.3.2",
|
||||
"4.3", "4.2.4", "4.2.3", "4.2.2", "4.2.1",
|
||||
"4.2"};
|
Loading…
Add table
Add a link
Reference in a new issue