Fix FTBFS on powerpc and powerpcspe (Closes: #733890)

This commit is contained in:
Sylvestre Ledru 2014-06-20 16:01:22 +00:00
parent f3b41228ea
commit 861a07c2be
2 changed files with 5 additions and 0 deletions

1
debian/changelog vendored
View File

@ -3,6 +3,7 @@ llvm-toolchain-3.4 (1:3.4.2-3) unstable; urgency=medium
* Ship the compiler-rt static libraries
* Running tests respect DEB_BUILD_OPTIONS=parallel=X
(Closes: #751943)
* Fix FTBFS on powerpc and powerpcspe (Closes: #733890)
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 19 Jun 2014 19:13:16 +0200

4
debian/rules vendored
View File

@ -28,6 +28,10 @@ LDFLAGS_EXTRA=
CXXFLAGS_EXTRA=
CONFIGURE_EXTRA=
ifneq (,$(filter $(DEB_HOST_ARCH),powerpc powerpcspe))
LDFLAGS_EXTRA += -latomic
endif
confargs := \
--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)