PERFORCE change 45123 for review

Juli Mallett jmallett at FreeBSD.org
Sun Jan 11 00:32:51 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=45123

Change 45123 by jmallett at 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.
 #


More information about the p4-projects mailing list