diff options
Diffstat (limited to 'sys/boot/sparc64/boot1/Makefile')
-rw-r--r-- | sys/boot/sparc64/boot1/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot/sparc64/boot1/Makefile b/sys/boot/sparc64/boot1/Makefile index 048c083..f8986ad 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 |