aboutsummaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-12-14 01:01:48 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-12-14 01:01:48 +0100
commitcf44f08379c667116c505a5060c770d7712e6812 (patch)
tree2a5f66a5dfd9a41261852215cd5b56e9ea2a1d9b /mach
parent57e349b1b0df1aee2dcd19dae1f324bde25ff8f0 (diff)
downloadglibc-cf44f08379c667116c505a5060c770d7712e6812.zip
glibc-cf44f08379c667116c505a5060c770d7712e6812.tar.gz
glibc-cf44f08379c667116c505a5060c770d7712e6812.tar.bz2
mach: Fix spurious inclusion of stack_chk_fail_local in libmachuser.a
When linking programs statically, stack_chk_fail_local already comes from libc_nonshared, so we don't need it in lib{mach,hurd}user.a.
Diffstat (limited to 'mach')
-rw-r--r--mach/Machrules1
1 files changed, 1 insertions, 0 deletions
diff --git a/mach/Machrules b/mach/Machrules
index 5839378..ebb0fab 100644
--- a/mach/Machrules
+++ b/mach/Machrules
@@ -223,6 +223,7 @@ endif
ifdef interface-library
$(interface-library)-routines = $(interface-routines) stack_chk_fail_local
+$(interface-library)-shared-only-routines = stack_chk_fail_local
extra-libs += $(interface-library)
extra-libs-others += $(interface-library)