Date: Sun, 12 Sep 2021 16:35:32 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: c5d7cc4fb42d - stable/13 - stand: Add MK_PIE=no to defs.mk Message-ID: <202109121635.18CGZWMN074268@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=c5d7cc4fb42d36e5d28628ec1df37cbed0e06c2a commit c5d7cc4fb42d36e5d28628ec1df37cbed0e06c2a Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2021-08-11 16:59:28 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2021-09-12 15:56:17 +0000 stand: Add MK_PIE=no to defs.mk There's no need to build both pie and non-pie .o's for stand. There's some other build thing with MK_BEAR_SSL=yes and/or MK_LOADER_VERIEXEC=yes that causes the pie build to fail that the 'ar' stage now. Since we don't need the PIE stuff and the non-PIE stuff, disable PIE for the boot loader. Reviewed by: emaste Sponsored by: Netflix (cherry picked from commit 879675e9a0d84880cad9834e2ef98e8724c5532c) --- stand/defs.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/stand/defs.mk b/stand/defs.mk index 901c30666835..2b0201b940b5 100644 --- a/stand/defs.mk +++ b/stand/defs.mk @@ -10,6 +10,7 @@ __BOOT_DEFS_MK__=${MFILE} MK_CTF= no MK_SSP= no MK_PROFILE= no +MK_PIE= no MAN= .if !defined(PIC) NO_PIC=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109121635.18CGZWMN074268>