Force the link to atomic also for i386 as it fails on Debian jessie too

This commit is contained in:
Sylvestre Ledru 2018-12-11 16:54:35 +01:00
parent 1dfde1e31f
commit 8e911fd30c
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -8,6 +8,7 @@ llvm-toolchain-7 (1:7.0.1~+rc3-2) UNRELEASED; urgency=medium
* Force the chmod +x on llvm-X/bin/* because it was sometimes removed
by the strip process
* Improved the debian/patches/series presentation by creating categories
* Force the link to atomic also for i386 as it fails on Debian jessie too
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 10 Dec 2018 03:49:59 -0500

2
debian/rules vendored
View File

@ -47,7 +47,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH),s390x))
LIBCXX_EXCEPTIONS :=OFF
endif
ifneq (,$(filter $(DEB_HOST_ARCH),armel mips mipsel powerpc powerpcspe riscv64))
ifneq (,$(filter $(DEB_HOST_ARCH),i386 armel mips mipsel powerpc powerpcspe riscv64))
CMAKE_EXTRA += -DLIBOMP_LIBFLAGS="-latomic" -DCMAKE_SHARED_LINKER_FLAGS="-latomic"
endif