clang was producing unusable binaries on armv5tel (Closes #873306)

Thanks to Adrian Bunk for the patch
This commit is contained in:
Sylvestre Ledru 2017-08-26 15:03:33 +00:00
parent 4e812c1bd9
commit 9be8626750
2 changed files with 5 additions and 0 deletions

2
debian/changelog vendored
View File

@ -5,6 +5,8 @@ llvm-toolchain-5.0 (1:5.0~+rc3-1) unstable; urgency=medium
* Fix the C++ include path order (Closes: #859083)
* Disable -gsplit-dwarf when using gcc 7 for causing a linking issue
See https://bugs.llvm.org/show_bug.cgi?id=34140
* clang was producing unusable binaries on armv5tel (Closes #873306)
Thanks to Adrian Bunk for the patch
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 26 Aug 2017 10:16:07 +0200

3
debian/rules vendored
View File

@ -59,6 +59,9 @@ ifneq (,$(findstring $(DEB_HOST_ARCH),armel))
# 3.8 fails to build, disable the compiler_rt builtins
# See http://lists.llvm.org/pipermail/llvm-dev/2016-May/099761.html
CMAKE_EXTRA += -DCOMPILER_RT_BUILD_BUILTINS=OFF
# Prevent clang from getting a > v4t default
# See bug #868779
CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=arm-linux-gnueabi
endif
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) ge 4.8-20121128-1~ ; echo $$?),0)