Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/cobalt/stand/boot Always build for mips3. Use -Os ...
details: https://anonhg.NetBSD.org/src/rev/bc785774ecf4
branches: trunk
changeset: 339048:bc785774ecf4
user: matt <matt%NetBSD.org@localhost>
date: Tue Jun 23 20:54:43 2015 +0000
description:
Always build for mips3. Use -Os instead -O2 for smallest code size.
text goes from 74608 to 63020
diffstat:
sys/arch/cobalt/stand/boot/Makefile | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r 7e6a910dd0aa -r bc785774ecf4 sys/arch/cobalt/stand/boot/Makefile
--- a/sys/arch/cobalt/stand/boot/Makefile Tue Jun 23 20:27:28 2015 +0000
+++ b/sys/arch/cobalt/stand/boot/Makefile Tue Jun 23 20:54:43 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2014/08/05 15:40:59 apb Exp $
+# $NetBSD: Makefile,v 1.30 2015/06/23 20:54:43 matt Exp $
NOMAN= # defined
@@ -53,10 +53,12 @@
#CPPFLAGS+= -DRPC_DEBUG -DRARP_DEBUG -DNET_DEBUG -DDEBUG -DPARANOID
# compiler flags for smallest code size
-CFLAGS= -O2 -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
+CFLAGS= -Os -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
+AFLAGS+= -mips3
+CFLAGS+= -mips3
.if ${MACHINE_ARCH} == "mips64el"
-AFLAGS+= -mips3 -mabi=32
-CFLAGS+= -mips3 -mabi=32
+AFLAGS+= -mabi=32
+CFLAGS+= -mabi=32
LINKFORMAT= -m elf32ltsmip
.endif
Home |
Main Index |
Thread Index |
Old Index