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.
This commit is contained in:
Samuel Thibault 2021-12-14 01:01:48 +01:00
parent 57e349b1b0
commit cf44f08379

View File

@ -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)