]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand: Add MK_PIE=no to defs.mk
authorWarner Losh <imp@FreeBSD.org>
Wed, 11 Aug 2021 16:59:28 +0000 (10:59 -0600)
committerWarner Losh <imp@FreeBSD.org>
Sun, 12 Sep 2021 16:33:14 +0000 (10:33 -0600)
commita02d8c2ff18c4d2e564ecf59f3dea92f7cdb6510
tree4ec66060d969e2e21236790f6a88189aff6a5094
parentb455c74d83e3274c69adbf2e740b49ff875ac0e9
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