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/clang-default-to-i686-on-32bit-x86-targets.patch | |
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/clang-default-to-i686-on-32bit-x86-targets.patch')
-rw-r--r-- | debian/patches/clang-default-to-i686-on-32bit-x86-targets.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/clang-default-to-i686-on-32bit-x86-targets.patch b/debian/patches/clang-default-to-i686-on-32bit-x86-targets.patch new file mode 100644 index 0000000..5df4296 --- /dev/null +++ b/debian/patches/clang-default-to-i686-on-32bit-x86-targets.patch @@ -0,0 +1,15 @@ +Set i386 default target CPU to be i686 (same as gcc) + +Closes: #812803 +Index: llvm-toolchain-3.9-3.9/clang/lib/Driver/Tools.cpp +=================================================================== +--- llvm-toolchain-3.9-3.9.orig/clang/lib/Driver/Tools.cpp ++++ llvm-toolchain-3.9-3.9/clang/lib/Driver/Tools.cpp +@@ -1898,6 +1898,7 @@ static const char *getX86TargetCPU(const + case llvm::Triple::Haiku: + return "i586"; + case llvm::Triple::Bitrig: ++ case llvm::Triple::Linux: + return "i686"; + default: + // Fallback to p4. |