Disable PIE for MIPS BERI boot loader

MIPS BERI boot loader is built with -mno-abicalls and -fno-pic
so prevent adding PIE-related build flags.

Fix build after 9a227a2fd6 ("Enable PIE by default on 64-bit architectures")

Obtained from: Semihalf
Sponsored by: Stormshield
This commit is contained in:
Marcin Wojtas 2021-02-25 06:41:35 +01:00
parent ddfffb41a2
commit 19cd12a32a

View File

@ -2,4 +2,8 @@
LDFLAGS+= -nostdlib
# BERI boot loader is built with '-mno-abicalls' flag,
# which is incompatible with PIE
MK_PIE= no
.include "../Makefile.inc"