mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2026-01-01 00:54:41 +00:00
hurd/hurd-cxx-paths.diff: Fix patch so it can be applied
This commit is contained in:
parent
0964b15d85
commit
ec59040010
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -1,8 +1,12 @@
|
||||
llvm-toolchain-10 (1:10.0.0~+rc1-1~exp2) experimental; urgency=medium
|
||||
|
||||
[ Sylvestre Ledru ]
|
||||
* Do not try to install hwasan_symbolize on armhf ppc64el
|
||||
as it isn't built
|
||||
|
||||
[ Samuel Thibault ]
|
||||
* hurd/hurd-cxx-paths.diff: Fix patch so it can be applied.
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 06 Feb 2020 10:37:39 +0100
|
||||
|
||||
llvm-toolchain-10 (1:10.0.0~+rc1-1~exp1) experimental; urgency=medium
|
||||
|
||||
10
debian/patches/hurd/hurd-cxx-paths.diff
vendored
10
debian/patches/hurd/hurd-cxx-paths.diff
vendored
@ -6,7 +6,7 @@ Index: llvm-toolchain-9-9.0.0/clang/lib/Driver/ToolChains/Hurd.cpp
|
||||
===================================================================
|
||||
--- llvm-toolchain-9-9.0.0.orig/clang/lib/Driver/ToolChains/Hurd.cpp
|
||||
+++ llvm-toolchain-9-9.0.0/clang/lib/Driver/ToolChains/Hurd.cpp
|
||||
@@ -61,17 +61,107 @@ static StringRef getOSLibDir(const llvm:
|
||||
@@ -61,21 +61,107 @@ static StringRef getOSLibDir(const llvm:
|
||||
return Triple.isArch32Bit() ? "lib" : "lib64";
|
||||
}
|
||||
|
||||
@ -42,10 +42,6 @@ Index: llvm-toolchain-9-9.0.0/clang/lib/Driver/ToolChains/Hurd.cpp
|
||||
+ .str());
|
||||
+ }
|
||||
+
|
||||
+#ifdef ENABLE_LINKER_BUILD_ID
|
||||
+ ExtraOpts.push_back("--build-id");
|
||||
+#endif
|
||||
+
|
||||
+ // The selection of paths to try here is designed to match the patterns which
|
||||
+ // the GCC driver itself uses, as this is part of the GCC-compatible driver.
|
||||
+ // This was determined by running GCC in a fake filesystem, creating all
|
||||
@ -56,6 +52,10 @@ Index: llvm-toolchain-9-9.0.0/clang/lib/Driver/ToolChains/Hurd.cpp
|
||||
const std::string OSLibDir = getOSLibDir(Triple, Args);
|
||||
const std::string MultiarchTriple = getMultiarchTriple(D, Triple, SysRoot);
|
||||
|
||||
#ifdef ENABLE_LINKER_BUILD_ID
|
||||
ExtraOpts.push_back("--build-id");
|
||||
#endif
|
||||
|
||||
- // If we are currently running Clang inside of the requested system root, add
|
||||
- // its parent library paths to those searched.
|
||||
+ // Add the multilib suffixed paths where they are available.
|
||||
|
||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -97,6 +97,7 @@ remove-apple-clang-manpage.diff
|
||||
0049-Use-Debian-provided-MathJax-everywhere.patch
|
||||
|
||||
# Hurd port
|
||||
hurd/hurd-cxx-paths.diff
|
||||
hurd/hurd-pathmax.diff
|
||||
|
||||
# powerpcspe
|
||||
|
||||
Loading…
Reference in New Issue
Block a user