Skip to content

Commit

Permalink
Specify -fno-unwind-tables to shrink binary size. Tested on nono.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutsui committed Jun 15, 2021
1 parent 072ec2a commit bcc37c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/arch/luna68k/stand/boot/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit bcc37c1

Please sign in to comment.