mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-11-01 12:33:45 +00:00
Link against libatomic on powerpc to fix FTBFS in stage2
This commit is contained in:
parent
b21ab43c62
commit
b77a496e1e
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -7,6 +7,7 @@ llvm-toolchain-snapshot (1:12~++20200804122259+4be13b15d69-1~exp1) UNRELEASED; u
|
||||
|
||||
[ John Paul Adrian Glaubitz ]
|
||||
* Link against libatomic on mipsel to fix FTBFS in stage2
|
||||
* Link against libatomic on powerpc to fix FTBFS in stage2
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 04 Aug 2020 12:26:34 +0200
|
||||
|
||||
|
||||
2
debian/rules
vendored
2
debian/rules
vendored
@ -53,7 +53,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH),i386 armel mips mipsel powerpc powerpcspe risc
|
||||
CMAKE_EXTRA += -DLIBOMP_LIBFLAGS="-latomic" -DCMAKE_SHARED_LINKER_FLAGS="-latomic"
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH),armel mipsel riscv64))
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH),armel mipsel powerpc riscv64))
|
||||
# For some reason, in the stage2 build, when clang is used to compile
|
||||
# itself. The atomic detection is failing on armel and riscv64. Forcing the inclusion everywhere.
|
||||
LDFLAGS_EXTRA += -latomic
|
||||
|
||||
Loading…
Reference in New Issue
Block a user