diff options
author | dim <dim@FreeBSD.org> | 2014-02-21 21:51:19 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-02-21 21:51:19 +0000 |
commit | 4abdabbce7e552a158d619c5a9901e669af7a7e4 (patch) | |
tree | 611b5ae53abc783c4dedabfa797b5f88024bf4a1 | |
parent | 342a49ce81f9e0875d310a9b0ddf3af1b554e817 (diff) | |
download | FreeBSD-src-4abdabbce7e552a158d619c5a9901e669af7a7e4.zip FreeBSD-src-4abdabbce7e552a158d619c5a9901e669af7a7e4.tar.gz |
For now, clang spells -mcmodel=medlow as -mcmodel=small.
-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 |