Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/luna68k/stand/boot Specify -fno-unwind-tables to sh...



details:   https://anonhg.NetBSD.org/src/rev/a2ca74c62935
branches:  trunk
changeset: 379707:a2ca74c62935
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Tue Jun 15 17:17:57 2021 +0000

description:
Specify -fno-unwind-tables to shrink binary size.  Tested on nono.

diffstat:

 sys/arch/luna68k/stand/boot/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a4d88623cdd9 -r a2ca74c62935 sys/arch/luna68k/stand/boot/Makefile
--- a/sys/arch/luna68k/stand/boot/Makefile      Tue Jun 15 17:17:14 2021 +0000
+++ b/sys/arch/luna68k/stand/boot/Makefile      Tue Jun 15 17:17:57 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2019/05/24 15:52:35 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.18 2021/06/15 17:17:57 tsutsui Exp $
 #      @(#)Makefile    8.2 (Berkeley) 8/15/93
 
 NOMAN= # defined
@@ -22,7 +22,7 @@ CPPFLAGS+=    -DLIBSA_ENABLE_LS_OP
 CPPFLAGS+=     -DLIBSA_PRINTF_WIDTH_SUPPORT
 CPPFLAGS+=     -DLIBSA_CREAD_NOCRC
 
-CFLAGS=                -Os -msoft-float
+CFLAGS=                -Os -fno-unwind-tables -msoft-float
 CFLAGS+=       -ffreestanding
 CFLAGS+=       -Wall -Werror
 CFLAGS+=       -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith



Home | Main Index | Thread Index | Old Index