commit
97e02ad23392f929862d6a04643e7f2fd91baebc
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Aug 27 22:10:17 2017 +0200
hurd: fix build with -fstack-protector-strong
libmachuser and libhurduser also need stack_chk_fail_local and they do not
link against libc_nonshared.
* mach/stack_chk_fail_local.c: New file.
* hurd/stack_chk_fail_local.c: New file.
* mach/Machrules ($(interface-library)-routines): Add
stack_chk_fail_local.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-stack_chk_fail_local.diff
--- /dev/null
+#include <debug/stack_chk_fail_local.c>
ifdef interface-library
-$(interface-library)-routines = $(interface-routines)
+$(interface-library)-routines = $(interface-routines) stack_chk_fail_local
extra-libs += $(interface-library)
extra-libs-others += $(interface-library)
--- /dev/null
+#include <debug/stack_chk_fail_local.c>