freebsd-src/tools/build
Kyle Evans 9bfd3b4076 Add a build knob for _FORTIFY_SOURCE
In the future, we will Default to _FORTIFY_SOURCE=2 if SSP is enabled,
otherwise default to _FORTIFY_SOURCE=0.  For now we default it to 0
unconditionally to ease bisect across older versions without the new
symbols, and we'll put out a call for testing.

include/*.h include their ssp/*.h equivalents as needed based on the
knob. Programs and users are allowed to override FORTIFY_SOURCE in their
Makefiles or src.conf/make.conf to force it off.

Reviewed by:	des, markj
Relnotes:	yes
Sponsored by:	Stormshield
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D32308
2024-05-13 00:23:50 -05:00
..
bootstrap-m4 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
cross-build tools/build: Provide sys/linker_set.h when cross-building 2023-12-13 21:43:09 +00:00
libc-bootstrap Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
make_check make_check: Deobit fmake support 2024-01-03 12:14:17 -07:00
mk Merge llvm-project main llvmorg-18-init-15692-g007ed0dccd6a 2024-04-06 22:13:06 +02:00
options Add a build knob for _FORTIFY_SOURCE 2024-05-13 00:23:50 -05:00
test-includes test-includes: Add -ansi to the compile line to catch problems 2023-12-31 23:14:08 -07:00
beinstall.sh beinstall: retire mergemaster support 2024-05-01 19:02:00 -04:00
check-links.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
checkstyle9.pl checkstyle9: Relax sob line requirement 2024-05-04 07:56:36 -06:00
depend-cleanup.sh tools: Remove stray "then" 2024-04-18 08:10:14 -07:00
dummy.c Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:23 -06:00
fcntl.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
freebsd-yeet.pl Update freebsd-yeet for mfc 2023-08-21 19:37:20 -06:00
fspacectl.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
futimens.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
make.py tools/build/make.py: Avoid Python 3.7+ subprocess.run capture_output 2024-01-31 19:45:59 +00:00
Makefile build: only inspect the first word of toolchain tools 2024-01-08 22:22:25 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
stat.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
stdlib.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
strings.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
utimensat.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00