mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-02 14:02:04 +00:00
Disable --as-needed on armel
This commit is contained in:
parent
b2515dbb99
commit
bedad29d49
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
llvm-toolchain-16 (1:16.0.6-26) unstable; urgency=medium
|
||||
|
||||
* Disable --as-needed on armel
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 27 Apr 2024 01:12:00 +0200
|
||||
|
||||
llvm-toolchain-16 (1:16.0.6-25) unstable; urgency=medium
|
||||
|
||||
* Fix libomp symbols file for t64.
|
||||
|
6
debian/rules
vendored
6
debian/rules
vendored
@ -64,7 +64,13 @@ include /usr/share/dpkg/buildflags.mk
|
||||
# collect additional flags for all stages all builds
|
||||
CFLAGS_EXTRA = -Wno-unused-command-line-argument
|
||||
CXXFLAGS_EXTRA = -Wno-unused-command-line-argument
|
||||
|
||||
ifeq (,$(filter $(DEB_HOST_ARCH), armel))
|
||||
LDFLAGS_EXTRA = -Wl,--build-id,--as-needed
|
||||
else
|
||||
# fails on armel. we are getting some missing latomic
|
||||
LDFLAGS_EXTRA = -Wl,--build-id
|
||||
endif
|
||||
|
||||
# collect all flags for stage 1 toolchain build only
|
||||
STAGE_1_CFLAGS = $(CFLAGS) $(CFLAGS_EXTRA) $(CPPFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user