mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-12 09:53:57 +00:00
Fix the FTBFS under HURD (hurd-endian.diff)
This commit is contained in:
parent
1a9e46d4e3
commit
d5fa32f730
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -3,6 +3,7 @@ llvm-toolchain-3.3 (1:3.3~+rc3-1~exp2) UNRELEASED; urgency=low
|
||||
* Do not use binutils-gold for powerpc
|
||||
* Print the lldb test failures
|
||||
* Create the compiler-rt directory for unsupported platforms
|
||||
* Fix the FTBFS under HURD (hurd-endian.diff)
|
||||
|
||||
--
|
||||
|
||||
|
13
debian/patches/hurd-endian.diff
vendored
Normal file
13
debian/patches/hurd-endian.diff
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
Index: llvm-toolchain-3.3-3.3~0rc2/include/llvm/Support/Host.h
|
||||
===================================================================
|
||||
--- llvm-toolchain-3.3-3.3~0rc2.orig/include/llvm/Support/Host.h 2013-04-15 22:13:59.000000000 +0200
|
||||
+++ llvm-toolchain-3.3-3.3~0rc2/include/llvm/Support/Host.h 2013-06-05 11:13:28.000000000 +0200
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
|
||||
-#if defined(__linux__)
|
||||
+#if defined(__linux__) || defined(__GNU__)
|
||||
#include <endian.h>
|
||||
#else
|
||||
#ifndef LLVM_ON_WIN32
|
2
debian/patches/series
vendored
2
debian/patches/series
vendored
@ -19,3 +19,5 @@ declare_clear_cache.diff
|
||||
33-armhf-defaults.diff
|
||||
34-powerpc-no-altivec.diff
|
||||
ia64-fix.diff
|
||||
hurd-endian.diff
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user