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 9a227a2fd642 ("Enable PIE by default on 64-bit architectures") Obtained from: Semihalf Sponsored by: Stormshield
This commit is contained in:
parent
ddfffb41a2
commit
19cd12a32a
@ -2,4 +2,8 @@
|
|||||||
|
|
||||||
LDFLAGS+= -nostdlib
|
LDFLAGS+= -nostdlib
|
||||||
|
|
||||||
|
# BERI boot loader is built with '-mno-abicalls' flag,
|
||||||
|
# which is incompatible with PIE
|
||||||
|
MK_PIE= no
|
||||||
|
|
||||||
.include "../Makefile.inc"
|
.include "../Makefile.inc"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user