]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Disable PIE for MIPS ubldr
authorMarcin Wojtas <mw@FreeBSD.org>
Fri, 12 Feb 2021 15:41:49 +0000 (16:41 +0100)
committerMarcin Wojtas <mw@FreeBSD.org>
Wed, 24 Feb 2021 23:26:11 +0000 (00:26 +0100)
commitcd992885bcdfb3c2c6b761f5c3bf1c86949acdc3
tree1c17db44224b050f38b1c22fb10831faae4bbc5c
parent6dd69f0064f1e54671cdb46ce5975a332fb761e8
Disable PIE for MIPS ubldr

When performing buildworld for MIPS with PIE enabled, the build fails
with "position-independent code requires '-mabicalls'" message.
-mno-abicalls and -fno-pic flags are explicitly set in MIPS ubldr
makefile, so to work around this problem, set MK_PIE=no for MIPS
ubldr.

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