summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.sparc64
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-12-24 13:35:43 +0000
committertmm <tmm@FreeBSD.org>2001-12-24 13:35:43 +0000
commita252a277ce6be54c78941252ca9cddfdfe0ee9f0 (patch)
treeb653bec6d6ab5140ad17e2913319ea30fe55e053 /sys/conf/Makefile.sparc64
parentfdc9141fcec5566da7630769b6382e7274ba7677 (diff)
downloadFreeBSD-src-a252a277ce6be54c78941252ca9cddfdfe0ee9f0.zip
FreeBSD-src-a252a277ce6be54c78941252ca9cddfdfe0ee9f0.tar.gz
Add -mcmodel=medlow to COPTS. This is needed to build working kernels.
Diffstat (limited to 'sys/conf/Makefile.sparc64')
-rw-r--r--sys/conf/Makefile.sparc643
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/Makefile.sparc64 b/sys/conf/Makefile.sparc64
index a98003f..88d3a05 100644
--- a/sys/conf/Makefile.sparc64
+++ b/sys/conf/Makefile.sparc64
@@ -51,6 +51,9 @@ S= ../../..
.endif
.include "$S/conf/kern.pre.mk"
+# XXX: this should probably go somewhere else
+COPTS+= -mcmodel=medlow
+
SYSTEM_SFILES= $S/$M/$M/locore.s $S/$M/$M/exception.s
SYSTEM_OBJS= locore.o exception.o vnode_if.o ${OBJS} hints.o env.o config.o hack.So
OpenPOWER on IntegriCloud