svn commit: r262306 - projects/clang-sparc64/sys/boot/sparc64/boot1

Dimitry Andric dim at FreeBSD.org
Fri Feb 21 21:51:20 UTC 2014


Author: dim
Date: Fri Feb 21 21:51:19 2014
New Revision: 262306
URL: http://svnweb.freebsd.org/changeset/base/262306

Log:
  For now, clang spells -mcmodel=medlow as -mcmodel=small.

Modified:
  projects/clang-sparc64/sys/boot/sparc64/boot1/Makefile

Modified: projects/clang-sparc64/sys/boot/sparc64/boot1/Makefile
==============================================================================
--- projects/clang-sparc64/sys/boot/sparc64/boot1/Makefile	Fri Feb 21 21:46:54 2014	(r262305)
+++ projects/clang-sparc64/sys/boot/sparc64/boot1/Makefile	Fri Feb 21 21:51:19 2014	(r262306)
@@ -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


More information about the svn-src-projects mailing list