freebsd-skq/stand/mips/beri/Makefile.inc
Marcin Wojtas 19cd12a32a 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
2021-02-25 06:41:35 +01:00

10 lines
162 B
Makefile

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