Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2004 00:32:49 -0800 (PST)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 45123 for review
Message-ID:  <200401110832.i0B8WnqW006430@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=45123

Change 45123 by jmallett@jmallett_oingo on 2004/01/11 00:31:54

	Match other platforms in flag setting-up.

Affected files ...

.. //depot/projects/mips/sys/conf/Makefile.mips#12 edit
.. //depot/projects/mips/sys/conf/kern.mk#7 edit

Differences ...

==== //depot/projects/mips/sys/conf/Makefile.mips#12 (text+ko) ====

@@ -41,9 +41,7 @@
 .include "$S/conf/kern.pre.mk"
 
 MIPSOPTS?= -mips3
-COPTS+= ${MIPSOPTS} -mno-abicalls -fno-pic -msoft-float
-
-CFLAGS+= -D${PLATFORM}
+CFLAGS+= -D${PLATFORM} ${MIPSOPTS}
 
 .if defined(TEXTADDR)
 LDFLAGS+= -Ttext ${TEXTADDR}

==== //depot/projects/mips/sys/conf/kern.mk#7 (text+ko) ====

@@ -77,6 +77,14 @@
 .endif
 
 #
+# For MIPS, disable ABI cals, PIC, and tell GCC to use soft floating.
+#
+.if ${MACHINE_ARCH} == "mips"
+CFLAGS+=	-mno-abicalls -fno-pic -msoft-float
+INLINE_LIMIT?=	15000
+.endif
+
+#
 # GCC 3.0 and above like to do certain optimizations based on the
 # assumption that the program is linked against libc.  Stop this.
 #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401110832.i0B8WnqW006430>