mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-15 05:37:19 +00:00
d/p/force-gcc-header-obj.diff Fix the detection of the objc path
This commit is contained in:
parent
803058736f
commit
9484e7ff51
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
llvm-toolchain-5.0 (1:5.0.2-3) UNRELEASED; urgency=medium
|
||||
|
||||
* d/p/force-gcc-header-obj.diff Fix the detection of the objc path
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 09 May 2018 14:21:13 +0200
|
||||
|
||||
llvm-toolchain-5.0 (1:5.0.2-2) unstable; urgency=medium
|
||||
|
||||
* Make CMake find_package(Clang) work. Fixes upstream bug
|
||||
|
10
debian/patches/force-gcc-header-obj.diff
vendored
10
debian/patches/force-gcc-header-obj.diff
vendored
@ -1,15 +1,15 @@
|
||||
Index: llvm-toolchain-snapshot_3.5~svn201651/clang/lib/Driver/ToolChains.cpp
|
||||
Index: llvm-toolchain-5.0-5.0.2~+rc1/clang/lib/Driver/ToolChains/Linux.cpp
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_3.5~svn201651.orig/clang/lib/Driver/ToolChains.cpp 2014-02-19 09:46:43.433569829 +0100
|
||||
+++ llvm-toolchain-snapshot_3.5~svn201651/clang/lib/Driver/ToolChains.cpp 2014-02-19 09:46:45.621708435 +0100
|
||||
@@ -3078,6 +3078,11 @@
|
||||
--- llvm-toolchain-5.0-5.0.2~+rc1.orig/clang/lib/Driver/ToolChains/Linux.cpp
|
||||
+++ llvm-toolchain-5.0-5.0.2~+rc1/clang/lib/Driver/ToolChains/Linux.cpp
|
||||
@@ -571,6 +571,11 @@ void Linux::AddClangSystemIncludeArgs(co
|
||||
return;
|
||||
}
|
||||
|
||||
+ // Force the inclusion of the gcc headers (objc/objc.h)
|
||||
+ addExternCSystemIncludeIfExists(
|
||||
+ DriverArgs, CC1Args, GCCInstallation.getInstallPath() + "/include");
|
||||
+
|
||||
+// std::cout << GCCInstallation.getInstallPath().str() << "/include" << std::endl;
|
||||
+
|
||||
// Lacking those, try to detect the correct set of system includes for the
|
||||
// target triple.
|
||||
|
2
debian/patches/series
vendored
2
debian/patches/series
vendored
@ -14,7 +14,7 @@ atomic_library_2.diff
|
||||
python-clangpath.diff
|
||||
removeduplicatedeclaration.diff
|
||||
fix-clang-path-and-build.diff
|
||||
#force-gcc-header-obj.diff
|
||||
force-gcc-header-obj.diff
|
||||
do-not-fail-on-unexpected-pass.diff
|
||||
silent-more-tests.diff
|
||||
disable-display-PASS-UNSUPPORTED-XFAIL.diff
|
||||
|
Loading…
Reference in New Issue
Block a user