HomeFreeBSD

Disable PIE for powerpc bootloaders.

Description

Disable PIE for powerpc bootloaders.

Bootloaders for powerpc are not built as position independent
code. Since bsd.prog.mk is used for building, when PIE is enabled,
the PIE flags are added and that causes the build to fail.
Adding MK_PIE=no stops bsd.prog.mk from adding PIE specific flags.

Submitted by: Dawid Gorecki <dgr@semihalf.com>
Reviewed by: emaste
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D28893

(cherry picked from commit 3aa023643e9db78f4da314ff9bfb1643533c004f)

Details

Provenance
mwAuthored on Feb 23 2021, 12:42 PM
Reviewer
emaste
Differential Revision
D28893: Disable PIE for PowerPC bootloaders.
Parents
rGafd4a4940790: Disable PIE for MIPS ubldr
Branches
Unknown
Tags
Unknown