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

Details

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