Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils Change all COPTS+=-Os to DBG=-Os as that var a...



details:   https://anonhg.NetBSD.org/src/rev/24302755c9d4
branches:  trunk
changeset: 515799:24302755c9d4
user:      jmc <jmc%NetBSD.org@localhost>
date:      Fri Oct 05 01:17:27 2001 +0000

description:
Change all COPTS+=-Os to DBG=-Os as that var actually controls the optimization
levels

diffstat:

 distrib/utils/init_s/Makefile      |  4 ++--
 distrib/utils/libhack/Makefile     |  4 ++--
 distrib/utils/libhack/Makefile.inc |  4 ++--
 distrib/utils/more/Makefile        |  4 ++--
 distrib/utils/ssh/Makefile         |  4 ++--
 distrib/utils/tls/Makefile         |  4 ++--
 distrib/utils/x_dd/Makefile        |  4 ++--
 distrib/utils/x_dhclient/Makefile  |  4 ++--
 distrib/utils/x_dmesg/Makefile     |  4 ++--
 distrib/utils/x_ftp/Makefile       |  4 ++--
 distrib/utils/x_gzip/Makefile      |  4 ++--
 distrib/utils/x_ifconfig/Makefile  |  4 ++--
 distrib/utils/x_mount/Makefile     |  4 ++--
 distrib/utils/x_netstat/Makefile   |  4 ++--
 distrib/utils/x_ping/Makefile      |  4 ++--
 distrib/utils/x_ping6/Makefile     |  4 ++--
 distrib/utils/x_route/Makefile     |  4 ++--
 distrib/utils/x_sh/Makefile        |  4 ++--
 distrib/utils/x_umount/Makefile    |  4 ++--
 distrib/utils/zcat/Makefile        |  4 ++--
 20 files changed, 40 insertions(+), 40 deletions(-)

diffs (truncated from 354 to 300 lines):

diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/init_s/Makefile
--- a/distrib/utils/init_s/Makefile     Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/init_s/Makefile     Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/08/20 12:19:43 martin Exp $
+# $NetBSD: Makefile,v 1.13 2001/10/05 01:17:27 jmc Exp $
 # Build a "small init" (i.e. for boot media)
 
 PROG=  init
@@ -12,7 +12,7 @@
 SRCDIR= ${.CURDIR}/../../../sbin/init
 CPPFLAGS+= -DLETS_GET_SMALL -I${SRCDIR}
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 
 all: ${PROG}
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/libhack/Makefile
--- a/distrib/utils/libhack/Makefile    Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/libhack/Makefile    Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2001/08/20 12:19:43 martin Exp $
+# $NetBSD: Makefile,v 1.12 2001/10/05 01:17:28 jmc Exp $
 #
 # Stubs to kill off some things from libc:
 # This save space on a boot system.
@@ -21,7 +21,7 @@
 .endif
 
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 WARNS= 1
 MKPIC= no
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/libhack/Makefile.inc
--- a/distrib/utils/libhack/Makefile.inc        Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/libhack/Makefile.inc        Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.11 2001/08/20 12:19:43 martin Exp $
+# $NetBSD: Makefile.inc,v 1.12 2001/10/05 01:17:28 jmc Exp $
 # Include this fragment to build libhack.o
 # It is .o and not .a to make sure these are the
 # objects you get (and not the ones in libc.a)
@@ -14,7 +14,7 @@
        $(LD) -r -o $@ $(HACKOBJS)
 
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 
 # XXX .PATH won't work here, because of crunchgen used in the i386 build
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/more/Makefile
--- a/distrib/utils/more/Makefile       Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/more/Makefile       Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2001/08/20 12:19:44 martin Exp $
+#      $NetBSD: Makefile,v 1.11 2001/10/05 01:17:28 jmc Exp $
 #
 #      @(#)Makefile    8.1 (Berkeley) 6/6/93
 
@@ -13,7 +13,7 @@
 LDSTATIC?=-static
 CPPFLAGS+=-I${.CURDIR}
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 
 beforeinstall:
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/ssh/Makefile
--- a/distrib/utils/ssh/Makefile        Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/ssh/Makefile        Fri Oct 05 01:17:27 2001 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.5 2001/08/20 12:19:44 martin Exp $
+# $NetBSD: Makefile,v 1.6 2001/10/05 01:17:29 jmc Exp $
 # Small Shell (i.e. for boot media)
 
 PROG=  ssh
 MKMAN= no
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 LDSTATIC?=-static
 
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/tls/Makefile
--- a/distrib/utils/tls/Makefile        Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/tls/Makefile        Fri Oct 05 01:17:27 2001 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.5 2001/08/20 12:19:44 martin Exp $
+# $NetBSD: Makefile,v 1.6 2001/10/05 01:17:29 jmc Exp $
 # Tiny ls  (i.e. for boot media)
 
 PROG=  tls
 MKMAN= no
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 LDSTATIC?=-static
 
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/x_dd/Makefile
--- a/distrib/utils/x_dd/Makefile       Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/x_dd/Makefile       Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2001/08/20 12:19:44 martin Exp $
+# $NetBSD: Makefile,v 1.12 2001/10/05 01:17:29 jmc Exp $
 # Build a smaller dd (i.e. for boot media)
 
 PROG=  dd
@@ -11,7 +11,7 @@
 
 CPPFLAGS+= -DNO_CONV -I${SRCDIR}
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 LDSTATIC?=-static
 
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/x_dhclient/Makefile
--- a/distrib/utils/x_dhclient/Makefile Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/x_dhclient/Makefile Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2001/08/03 14:15:48 drochner Exp $
+#      $NetBSD: Makefile,v 1.10 2001/10/05 01:17:30 jmc Exp $
 
 PROG=  dhclient
 MKMAN= no
@@ -26,7 +26,7 @@
 
 CPPFLAGS+=-DSMALL -I${RSRCDIR} -I${RSRCDIR}/includes
 .if ${MACHINE} != "sparc64"
-COPTS+=        -Os
+DBG=   -Os
 .endif
 
 all: ${PROG}
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/x_dmesg/Makefile
--- a/distrib/utils/x_dmesg/Makefile    Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/x_dmesg/Makefile    Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/08/20 12:19:44 martin Exp $
+# $NetBSD: Makefile,v 1.3 2001/10/05 01:17:30 jmc Exp $
 # Build dmesg without kvm support
 
 SRCDIR= ${.CURDIR}/../../../sbin/dmesg
@@ -7,7 +7,7 @@
 LDSTATIC?=-static
 CPPFLAGS+= -DSMALL
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 WARNS?=        1
 
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/x_ftp/Makefile
--- a/distrib/utils/x_ftp/Makefile      Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/x_ftp/Makefile      Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2001/08/20 12:19:45 martin Exp $
+# $NetBSD: Makefile,v 1.12 2001/10/05 01:17:30 jmc Exp $
 # Build a smaller ftp (i.e. for boot media)
 
 PROG=  ftp
@@ -18,7 +18,7 @@
 CPPFLAGS+= -DINET6
 .endif
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 LDSTATIC?=-static
 
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/x_gzip/Makefile
--- a/distrib/utils/x_gzip/Makefile     Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/x_gzip/Makefile     Fri Oct 05 01:17:27 2001 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: Makefile,v 1.4 2001/08/20 12:19:45 martin Exp $
+#      $NetBSD: Makefile,v 1.5 2001/10/05 01:17:30 jmc Exp $
 
 PROG=  gzip
 LDADD= -lz
 DPADD= ${LIBZ}
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 LDSTATIC?=-static
 
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/x_ifconfig/Makefile
--- a/distrib/utils/x_ifconfig/Makefile Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/x_ifconfig/Makefile Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2001/08/20 12:19:45 martin Exp $
+# $NetBSD: Makefile,v 1.15 2001/10/05 01:17:31 jmc Exp $
 # Build a smaller ifconfig (i.e. for boot media)
 
 PROG=  ifconfig
@@ -10,7 +10,7 @@
 CPPFLAGS+= -DINET6
 .endif
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 LDSTATIC?=-static
 
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/x_mount/Makefile
--- a/distrib/utils/x_mount/Makefile    Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/x_mount/Makefile    Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/08/20 12:19:45 martin Exp $
+# $NetBSD: Makefile,v 1.3 2001/10/05 01:17:31 jmc Exp $
 # Build a smaller mount (i.e. for boot media)
 
 PROG=  mount
@@ -10,7 +10,7 @@
 
 CPPFLAGS+= -DNO_MOUNT_PROGS -I${SRCDIR}
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 LDSTATIC?=-static
 WARNS?= 1
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/x_netstat/Makefile
--- a/distrib/utils/x_netstat/Makefile  Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/x_netstat/Makefile  Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2001/08/20 12:19:45 martin Exp $
+#      $NetBSD: Makefile,v 1.9 2001/10/05 01:17:31 jmc Exp $
 
 PROG=  netstat
 SRCS=  if.c inet.c main.c mbuf.c route.c
@@ -6,7 +6,7 @@
 SRCDIR= ${.CURDIR}/../../../usr.bin/netstat
 CPPFLAGS+= -DSMALL -I${SRCDIR}
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 LDADD= -lkvm
 LDSTATIC?=-static
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/x_ping/Makefile
--- a/distrib/utils/x_ping/Makefile     Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/x_ping/Makefile     Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/08/20 12:19:46 martin Exp $
+# $NetBSD: Makefile,v 1.5 2001/10/05 01:17:31 jmc Exp $
 # Build ping without IPSEC
 
 SRCDIR= ${.CURDIR}/../../../sbin/ping
@@ -8,7 +8,7 @@
 LDSTATIC?=-static
 CPPFLAGS+= -I${SRCDIR}
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 
 all: ${PROG}
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/x_ping6/Makefile
--- a/distrib/utils/x_ping6/Makefile    Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/x_ping6/Makefile    Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/08/20 12:19:46 martin Exp $
+# $NetBSD: Makefile,v 1.7 2001/10/05 01:17:32 jmc Exp $
 # Build ping6 without IPSEC
 
 SRCDIR= ${.CURDIR}/../../../sbin/ping6
@@ -8,7 +8,7 @@
 CPPFLAGS+=-I${SRCDIR}
 CPPFLAGS+=-DINET6
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 LDSTATIC?=-static
 
diff -r 0cbd5865d330 -r 24302755c9d4 distrib/utils/x_route/Makefile
--- a/distrib/utils/x_route/Makefile    Fri Oct 05 01:06:17 2001 +0000
+++ b/distrib/utils/x_route/Makefile    Fri Oct 05 01:17:27 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2001/08/20 12:19:46 martin Exp $
+#      $NetBSD: Makefile,v 1.12 2001/10/05 01:17:32 jmc Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/5/93
 
 PROG=  route
@@ -11,7 +11,7 @@
 CPPFLAGS+= -DINET6
 .endif
 .if ${MACHINE_ARCH} != "sparc64"
-COPTS+= -Os
+DBG= -Os
 .endif
 LDSTATIC?=-static
 



Home | Main Index | Thread Index | Old Index