Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst Do not force -Os optimization (unless SMALL...



details:   https://anonhg.NetBSD.org/src/rev/926b4da562ae
branches:  trunk
changeset: 744969:926b4da562ae
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Feb 19 21:49:48 2020 +0000

description:
Do not force -Os optimization (unless SMALLPROG)

diffstat:

 usr.sbin/sysinst/Makefile.inc |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 4bfd9c70f09f -r 926b4da562ae usr.sbin/sysinst/Makefile.inc
--- a/usr.sbin/sysinst/Makefile.inc     Wed Feb 19 21:45:09 2020 +0000
+++ b/usr.sbin/sysinst/Makefile.inc     Wed Feb 19 21:49:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.33 2020/02/19 21:45:09 martin Exp $
+#      $NetBSD: Makefile.inc,v 1.34 2020/02/19 21:49:48 martin Exp $
 #
 # Makefile for sysinst
 
@@ -117,10 +117,10 @@
 .endif
 CPPFLAGS+=-DDEBUG
 DBG +=-g -O0 ${O0TRACKING}
+.else
+.if defined(SMALLPROG)
+COPTS += -Os
 .endif
-
-.if empty(DBG:M-g)
-COPTS += -Os
 .endif
 
 .if (!defined(SMALLPROG) || defined(SMALLPROG_INET6)) && (${USE_INET6} != "no")



Home | Main Index | Thread Index | Old Index