git: a02d8c2ff18c - stable/12 - stand: Add MK_PIE=no to defs.mk
Warner Losh
imp at FreeBSD.org
Sun Sep 12 18:32:48 UTC 2021
The branch stable/12 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=a02d8c2ff18c4d2e564ecf59f3dea92f7cdb6510
commit a02d8c2ff18c4d2e564ecf59f3dea92f7cdb6510
Author: Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-08-11 16:59:28 +0000
Commit: Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-09-12 16:33:14 +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 c81be884f3ae..9e291639e877 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=
More information about the dev-commits-src-all
mailing list