[hurd,commited] mach: Fix spurious inclusion of stack_chk_fail_local in libmachuser.a
Checks
Commit Message
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.
---
mach/Machrules | 1 +
1 file changed, 1 insertion(+)
@@ -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)