aboutsummaryrefslogtreecommitdiff
path: root/stand
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-08-11 16:59:28 +0000
committerWarner Losh <imp@FreeBSD.org>2021-08-11 17:03:19 +0000
commit879675e9a0d84880cad9834e2ef98e8724c5532c (patch)
treedef22fd9321c2b465bb701eb8b06c300601ff652 /stand
parent6b22840ed0e8f9ceb34465987b8469a43ebb4582 (diff)
downloadsrc-879675e9a0d84880cad9834e2ef98e8724c5532c.tar.gz
src-879675e9a0d84880cad9834e2ef98e8724c5532c.zip
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
Diffstat (limited to 'stand')
-rw-r--r--stand/defs.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/stand/defs.mk b/stand/defs.mk
index 1e22f7b7c693..aee4636985ac 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=