mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-02 18:38:00 +00:00
* Fix 'bits/c++config.h' file not found under i386
See libstdc++-header-i386.diff. (Closes: #714890) * Add more fixes for the HURD port... (but still fails)
This commit is contained in:
parent
78a5add820
commit
36df6cff64
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -7,7 +7,9 @@ llvm-toolchain-3.3 (1:3.3-9) UNRELEASED; urgency=low
|
||||
[ Sylvestre Ledru ]
|
||||
* Only use -fuse-ld=gold on supported distribution. Simplify the
|
||||
backports.
|
||||
* Add more fixes for the HURD port...
|
||||
* Fix 'bits/c++config.h' file not found under i386
|
||||
See libstdc++-header-i386.diff. (Closes: #714890)
|
||||
* Add more fixes for the HURD port... (but still fails)
|
||||
|
||||
[ Jon Severinsson ]
|
||||
* Merge from llvm-toolchain-3.2 branch up to 3.2repack-11.
|
||||
|
15
debian/patches/libstdc++-header-i386.diff
vendored
Normal file
15
debian/patches/libstdc++-header-i386.diff
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
Index: llvm-toolchain-3.3-3.3/clang/lib/Driver/ToolChains.cpp
|
||||
===================================================================
|
||||
--- llvm-toolchain-3.3-3.3.orig/clang/lib/Driver/ToolChains.cpp 2013-09-03 14:04:41.000000000 +0000
|
||||
+++ llvm-toolchain-3.3-3.3/clang/lib/Driver/ToolChains.cpp 2013-09-04 14:09:12.000000000 +0000
|
||||
@@ -2588,6 +2588,10 @@
|
||||
StringRef Version = GCCInstallation.getVersion().Text;
|
||||
StringRef TripleStr = GCCInstallation.getTriple().str();
|
||||
|
||||
+ #ifdef __i386__
|
||||
+ // clang does not detect this path: /usr/include/i386-linux-gnu/c++/4.8/ Help him
|
||||
+ addLibStdCXXIncludePaths( "/usr/include/", "/c++/" + Version.str(), "i386-linux-gnu", GCCInstallation.getMultiarchSuffix(), DriverArgs, CC1Args);
|
||||
+ #endif
|
||||
if (addLibStdCXXIncludePaths(LibDir.str() + "/../include",
|
||||
"/c++/" + Version.str(),
|
||||
TripleStr,
|
2
debian/patches/series
vendored
2
debian/patches/series
vendored
@ -33,4 +33,4 @@ unwind-chain-inclusion.diff
|
||||
hurd-pathmax.diff
|
||||
libprofile_rt_sparc.patch
|
||||
lldb-hurd.diff
|
||||
lldb-link-atomic.diff
|
||||
libstdc++-header-i386.diff
|
||||
|
Loading…
Reference in New Issue
Block a user