aboutsummaryrefslogtreecommitdiff
path: root/stand
diff options
context:
space:
mode:
authorMarcin Wojtas <mw@FreeBSD.org>2021-02-12 15:41:49 +0000
committerMarcin Wojtas <mw@FreeBSD.org>2021-02-24 23:26:11 +0000
commitcd992885bcdfb3c2c6b761f5c3bf1c86949acdc3 (patch)
tree1c17db44224b050f38b1c22fb10831faae4bbc5c /stand
parent6dd69f0064f1e54671cdb46ce5975a332fb761e8 (diff)
Diffstat (limited to 'stand')
-rw-r--r--stand/mips/uboot/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/stand/mips/uboot/Makefile b/stand/mips/uboot/Makefile
index 1162b7fed3b0..984582027de5 100644
--- a/stand/mips/uboot/Makefile
+++ b/stand/mips/uboot/Makefile
@@ -44,6 +44,10 @@ LDADD= ${LDR_INTERP} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} ${LIBSA}
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
+# ubldr on MIPS is built with '-mno-abicalls' flag,
+# which is incompatible with PIE
+MK_PIE= no
+
ldscript.abs:
echo "UBLDR_LOADADDR = ${UBLDR_LOADADDR};" >${.TARGET}