diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-10-15 15:41:01 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-10-15 15:41:01 +0300 |
commit | 7a2b43796a4c38cf98fe05e8e4ec985318b2721b (patch) | |
tree | b0f5611276e10646b654f7d5ed12c6e6060353be /debian/patches/force-gcc-header-obj.diff | |
download | llvm-toolchain-5.0-debian.tar.gz |
Imported llvm-toolchain-5.0 (1:5.0-4)debian/5.0-4debian
Diffstat (limited to 'debian/patches/force-gcc-header-obj.diff')
-rw-r--r-- | debian/patches/force-gcc-header-obj.diff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/force-gcc-header-obj.diff b/debian/patches/force-gcc-header-obj.diff new file mode 100644 index 0000000..bcd2cbd --- /dev/null +++ b/debian/patches/force-gcc-header-obj.diff @@ -0,0 +1,16 @@ +Index: llvm-toolchain-snapshot_3.5~svn201651/clang/lib/Driver/ToolChains.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 @@ + return; + } + ++ // Force the inclusion of the gcc headers (objc/objc.h) ++ addExternCSystemIncludeIfExists( ++ DriverArgs, CC1Args, GCCInstallation.getInstallPath() + "/include"); ++ ++ + // Lacking those, try to detect the correct set of system includes for the + // target triple. + |