Module Name: src Committed By: martin Date: Wed Feb 19 21:49:48 UTC 2020
Modified Files: src/usr.sbin/sysinst: Makefile.inc Log Message: Do not force -Os optimization (unless SMALLPROG) To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/sysinst/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/sysinst/Makefile.inc diff -u src/usr.sbin/sysinst/Makefile.inc:1.33 src/usr.sbin/sysinst/Makefile.inc:1.34 --- src/usr.sbin/sysinst/Makefile.inc:1.33 Wed Feb 19 21:45:09 2020 +++ src/usr.sbin/sysinst/Makefile.inc Wed Feb 19 21:49:48 2020 @@ -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,11 +117,11 @@ O0TRACKING= -fvar-tracking-assignments - .endif CPPFLAGS+=-DDEBUG DBG +=-g -O0 ${O0TRACKING} -.endif - -.if empty(DBG:M-g) +.else +.if defined(SMALLPROG) COPTS += -Os .endif +.endif .if (!defined(SMALLPROG) || defined(SMALLPROG_INET6)) && (${USE_INET6} != "no") CPPFLAGS+=-DINET6