aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-12-03 10:58:52 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-12-03 21:37:50 +0100
commit8b196ac4b8d1be6021a3974f28bba5e947b37db8 (patch)
treeddb72963012501d3751a0da8bf6a640bb56f1da6 /sysdeps
parent9fb8139079ef0bb1aa33a4ae418cbb113b9b9da7 (diff)
downloadglibc-8b196ac4b8d1be6021a3974f28bba5e947b37db8.zip
glibc-8b196ac4b8d1be6021a3974f28bba5e947b37db8.tar.gz
glibc-8b196ac4b8d1be6021a3974f28bba5e947b37db8.tar.bz2
Expand $(as-needed) and $(no-as-needed) throughout the build system
Since commit a3cc4f48e94f32c9532ee36982ac00eb1e5719b0 ("Remove --as-needed configure test."), --as-needed support is no longer optional. The macros are not much shorter and do not provide documentary value, either, so this commit removes them.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/powerpc/powerpc64/le/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/le/Makefile b/sysdeps/powerpc/powerpc64/le/Makefile
index f59db1c..0ce3868 100644
--- a/sysdeps/powerpc/powerpc64/le/Makefile
+++ b/sysdeps/powerpc/powerpc64/le/Makefile
@@ -4,7 +4,7 @@
# libgcc requires __tcb_parse_hwcap_and_convert_at_platform when built with
# a binary128 type. That symbol is provided by the loader on dynamically
# linked executables, forcing to link the loader after libgcc link.
-f128-loader-link = $(as-needed) $(elf-objpfx)ld.so $(no-as-needed)
+f128-loader-link = -Wl,--as-needed $(elf-objpfx)ld.so -Wl,--no-as-needed
ifeq ($(subdir),math)
# sqrtf128 requires emulation before POWER9.