void-packages/srcpkgs/llvm/patches/clang-toolchains-gcc-versions.patch

12 lines
622 B
Diff

# 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"};