]> 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)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 8 Oct 2021 08:14:35 +0000 (03:14 -0500)
commitea2392f2f2b3bfa1883f921c465f9b22eec8f512
treeb5a513e78a0e5851ab4db98d81fdb792eb3e60ef
parent9da7cdecf101ef70b30364479c35a9d25b47b576
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

(cherry picked from commit cd992885bcdfb3c2c6b761f5c3bf1c86949acdc3)
stand/mips/uboot/Makefile