mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-11 20:24:29 +00:00
Disable --as-needed on armel
This commit is contained in:
parent
898f458814
commit
a74dbb8262
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -531,6 +531,12 @@ llvm-toolchain-snapshot (1:17~++20230128060150+75153adeda1a-1~exp1) experimental
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 28 Jan 2023 18:07:40 +0100
|
||||
|
||||
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-18) unstable; urgency=medium
|
||||
|
||||
[ Gianfranco Costamagna ]
|
||||
|
6
debian/rules
vendored
6
debian/rules
vendored
@ -86,7 +86,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