Module Name:    src
Committed By:   tsutsui
Date:           Sun Jun  7 03:02:42 UTC 2020

Modified Files:
        src/sys/arch/ews4800mips/stand/boot: Makefile

Log Message:
Use -fno-unwind-tables to shrink boot binaries a bit.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/ews4800mips/stand/boot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/ews4800mips/stand/boot/Makefile
diff -u src/sys/arch/ews4800mips/stand/boot/Makefile:1.24 src/sys/arch/ews4800mips/stand/boot/Makefile:1.25
--- src/sys/arch/ews4800mips/stand/boot/Makefile:1.24	Mon Dec 23 19:28:04 2019
+++ src/sys/arch/ews4800mips/stand/boot/Makefile	Sun Jun  7 03:02:42 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.24 2019/12/23 19:28:04 christos Exp $
+#	$NetBSD: Makefile,v 1.25 2020/06/07 03:02:42 tsutsui Exp $
 
 WARNS		?= 1
 NOMAN		=
@@ -62,7 +62,7 @@ MIPSFLAGS	= -mips1 -G 0 -mno-abicalls
 DEBUGFLAGS	= -Wall -Werror
 DEBUGFLAGS	+= -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
 DEBUGFLAGS	+= -Wno-format-zero-length -Wno-sign-compare
-OPTFLAGS	= -Os -mmemcpy
+OPTFLAGS	= -Os -mmemcpy -fno-unwind-tables
 FLAGS		= ${MIPSFLAGS} ${DEBUGFLAGS} ${OPTFLAGS}
 AFLAGS		= -xassembler-with-cpp -D_LOCORE ${FLAGS}
 CFLAGS		= ${FLAGS} -ffreestanding

Reply via email to