diff options
author | Mitchell Horne <mhorne@FreeBSD.org> | 2021-08-04 18:20:50 +0000 |
---|---|---|
committer | Mitchell Horne <mhorne@FreeBSD.org> | 2021-08-04 18:23:22 +0000 |
commit | 61ed578ee66648eff206ee5622b66727bfb52e78 (patch) | |
tree | e23af5f15b9616ef727d9446e2a9f09e8fbe5c5d /Makefile.libcompat | |
parent | 1b8db4b4e3614ef6334ce776dcdd46fe7f2c5a78 (diff) | |
download | src-61ed578ee66648eff206ee5622b66727bfb52e78.tar.gz src-61ed578ee66648eff206ee5622b66727bfb52e78.zip |
Prefer MK_SSP=no to SSP_CFLAGS=
It is more idiomatic. CFLAGS is only augmented with $SSP_CFLAGS when
$MK_SSP != "no".
Reviewed by: imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D31401
Diffstat (limited to 'Makefile.libcompat')
-rw-r--r-- | Makefile.libcompat | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat index 88b1e3f0cf18..b376ebaa65f4 100644 --- a/Makefile.libcompat +++ b/Makefile.libcompat @@ -99,7 +99,7 @@ build${libcompat}: .PHONY ${_+_}cd ${.CURDIR}/${_dir}; \ WORLDTMP=${WORLDTMP} \ MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" \ - ${MAKE} SSP_CFLAGS= DESTDIR= \ + ${MAKE} DESTDIR= \ OBJTOP=${LIBCOMPAT_OBJTOP} \ OBJROOT='$${OBJTOP}/' \ MAKEOBJDIRPREFIX= \ @@ -109,6 +109,7 @@ build${libcompat}: .PHONY MK_ASAN=no \ MK_CTF=no \ MK_RETPOLINE=no \ + MK_SSP=no \ MK_UBSAN=no \ MK_WERROR=no \ ${_t} |