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 879675e9a0)
This commit is contained in:
Warner Losh 2021-08-11 10:59:28 -06:00
parent 4c2819607a
commit c5d7cc4fb4

View File

@ -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=