aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/sparc64
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2014-02-21 21:51:19 +0000
committerDimitry Andric <dim@FreeBSD.org>2014-02-21 21:51:19 +0000
commitd7c3b3b9dec85a933367db26411f23fde89f23cf (patch)
tree611b5ae53abc783c4dedabfa797b5f88024bf4a1 /sys/boot/sparc64
parent7e4113e2e19e0b0463626ec3e276ef3c8b0f1a3c (diff)
Notes
Diffstat (limited to 'sys/boot/sparc64')
-rw-r--r--sys/boot/sparc64/boot1/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot/sparc64/boot1/Makefile b/sys/boot/sparc64/boot1/Makefile
index 048c0830b351..f8986ade4e3e 100644
--- a/sys/boot/sparc64/boot1/Makefile
+++ b/sys/boot/sparc64/boot1/Makefile
@@ -9,7 +9,9 @@ CLEANFILES=${FILES} boot1.aout
BOOTBLOCKBASE= 0x4000
-CFLAGS+=-mcmodel=medlow -Os -I${.CURDIR}/../../common
+CFLAGS.clang+=-mcmodel=small
+CFLAGS.gcc+=-mcmodel=medlow
+CFLAGS+=-Os -I${.CURDIR}/../../common
LDFLAGS=-Ttext ${BOOTBLOCKBASE} -Wl,-N
# Construct boot1. sunlabel expects it to contain zeroed-out space for the