Fix the FTBFS under mips/mipsel? (enable the link against atomic)

(Closes: #820537)
This commit is contained in:
Sylvestre Ledru 2016-07-03 10:12:36 +00:00
parent 2b69b184b1
commit 629bbcbe25
2 changed files with 8 additions and 1 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
llvm-toolchain-3.8 (1:3.8.1-4) UNRELEASED; urgency=medium
* Fix the FTBFS under mips/mipsel? (enable the link against atomic)
(Closes: #820537)
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 03 Jul 2016 12:10:44 +0200
llvm-toolchain-3.8 (1:3.8.1-3) unstable; urgency=medium llvm-toolchain-3.8 (1:3.8.1-3) unstable; urgency=medium
* Add -gsplit-dwarf to CXXFLAGS to workaround the memory allocation * Add -gsplit-dwarf to CXXFLAGS to workaround the memory allocation

2
debian/rules vendored
View File

@ -34,7 +34,7 @@ CXXFLAGS_EXTRA = -std=c++0x -gsplit-dwarf
CONFIGURE_EXTRA = CONFIGURE_EXTRA =
CMAKE_EXTRA = CMAKE_EXTRA =
ifneq (,$(filter $(DEB_HOST_ARCH),powerpc powerpcspe)) ifneq (,$(filter $(DEB_HOST_ARCH),powerpc powerpcspe mips mipsel))
LDFLAGS_EXTRA += -latomic LDFLAGS_EXTRA += -latomic
endif endif