summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-01-04 20:19:25 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-01-04 20:19:25 +0000
commitcd0d51baaa4509a1db83251a601d34404d20c990 (patch)
treeeb42aafd43ec390da9bb3bcb3e55dc0eb685d7a2 /gnu
parenta34e99eee64262265541c3cc11075a5a29612ead (diff)
Provide libssp based on libc
For libssp.so, rebuild stack_protector.c with FORTIFY_SOURCE stubs that just abort built into it. For libssp_nonshared.a, steal stack_protector_compat.c from ^/lib/libc/secure and massage it to maintain that __stack_chk_fail_local is a hidden symbol. libssp is now built unconditionally regardless of {WITH,WITHOUT}_SSP in the build environment, and the gcclibs version has been disconnected from the build in favor of this one. PR: 242950 (exp-run) Reviewed by: kib, emaste, pfg, Oliver Pinter (earlier version) Also discussed with: kan MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D22943
Notes
Notes: svn path=/head/; revision=356356
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index 2cbb80cc7dcf..a4a19b704e3c 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -8,7 +8,6 @@ SUBDIR.${MK_GCC}+= libgcov
.if ${MK_GCC} != "no" && ${MK_OPENMP} == "no"
SUBDIR+= libgomp
.endif
-SUBDIR.${MK_SSP}+= libssp
SUBDIR.${MK_TESTS}+= tests
.if ${MK_BSD_CRTBEGIN} == "no"