Module Name: src Committed By: christos Date: Sat Nov 9 21:39:28 UTC 2013
Modified Files: src/distrib/utils/x_ping: Makefile src/external/gpl3/gdb/lib/libdecnumber: Makefile src/sbin/fsdb: Makefile src/sbin/newfs_ext2fs: Makefile src/sbin/ping: Makefile src/usr.sbin/lmcconfig: Makefile src/usr.sbin/mtrace: Makefile Log Message: vax specific gcc 4.8.1 hacks To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/distrib/utils/x_ping/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gdb/lib/libdecnumber/Makefile cvs rdiff -u -r1.35 -r1.36 src/sbin/fsdb/Makefile cvs rdiff -u -r1.5 -r1.6 src/sbin/newfs_ext2fs/Makefile cvs rdiff -u -r1.16 -r1.17 src/sbin/ping/Makefile cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/lmcconfig/Makefile cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/mtrace/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/utils/x_ping/Makefile diff -u src/distrib/utils/x_ping/Makefile:1.7 src/distrib/utils/x_ping/Makefile:1.8 --- src/distrib/utils/x_ping/Makefile:1.7 Mon Dec 13 14:19:10 2010 +++ src/distrib/utils/x_ping/Makefile Sat Nov 9 16:39:27 2013 @@ -1,6 +1,8 @@ -# $NetBSD: Makefile,v 1.7 2010/12/13 19:19:10 pooka Exp $ +# $NetBSD: Makefile,v 1.8 2013/11/09 21:39:27 christos Exp $ # Build ping without IPSEC +.include <bsd.own.mk> + SRCDIR= ${.CURDIR}/../../../sbin/ping PROG= ping @@ -10,6 +12,10 @@ CPPFLAGS+= -I${SRCDIR} -DCRUNCHOPS DPADD= ${LIBM} LDADD= -lm +.if ${MACHINE_ARCH} == "vax" +COPTS.ping.c=-O0 +.endif + .include <bsd.prog.mk> .PATH: ${SRCDIR} Index: src/external/gpl3/gdb/lib/libdecnumber/Makefile diff -u src/external/gpl3/gdb/lib/libdecnumber/Makefile:1.2 src/external/gpl3/gdb/lib/libdecnumber/Makefile:1.3 --- src/external/gpl3/gdb/lib/libdecnumber/Makefile:1.2 Sun Aug 4 19:41:43 2013 +++ src/external/gpl3/gdb/lib/libdecnumber/Makefile Sat Nov 9 16:39:27 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2013/08/04 23:41:43 matt Exp $ +# $NetBSD: Makefile,v 1.3 2013/11/09 21:39:27 christos Exp $ .include <bsd.own.mk> .include "../Makefile.inc" @@ -18,6 +18,10 @@ CPPFLAGS+= -I${.CURDIR}/arch/${GDB_MACHI SRCS= ${G_OBJS:.o=.c} ${G_SOURCES} +.if ${MACHINE_ARCH} == "vax" +COPTS.decNumber.c=-O0 +.endif + .PATH: ${DIST}/libdecnumber ${DIST}/libdecnumber/dpd .include <bsd.lib.mk> Index: src/sbin/fsdb/Makefile diff -u src/sbin/fsdb/Makefile:1.35 src/sbin/fsdb/Makefile:1.36 --- src/sbin/fsdb/Makefile:1.35 Sat Nov 9 11:01:58 2013 +++ src/sbin/fsdb/Makefile Sat Nov 9 16:39:27 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2013/11/09 16:01:58 christos Exp $ +# $NetBSD: Makefile,v 1.36 2013/11/09 21:39:27 christos Exp $ # @(#)Makefile 8.1 (Berkeley) 6/5/93 .include <bsd.own.mk> @@ -42,6 +42,6 @@ COPTS.pass1.c+= -fno-tree-fre -fno-tree- .include <bsd.prog.mk> # XXX -.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45 && ${MACHINE_ARCH} == "vax" +.if defined(HAVE_GCC) && ${HAVE_GCC} == 45 && ${MACHINE_ARCH} == "vax" COPTS.fsdb.c+= -O0 .endif Index: src/sbin/newfs_ext2fs/Makefile diff -u src/sbin/newfs_ext2fs/Makefile:1.5 src/sbin/newfs_ext2fs/Makefile:1.6 --- src/sbin/newfs_ext2fs/Makefile:1.5 Sun Aug 11 02:05:30 2013 +++ src/sbin/newfs_ext2fs/Makefile Sat Nov 9 16:39:27 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2013/08/11 06:05:30 dholland Exp $ +# $NetBSD: Makefile,v 1.6 2013/11/09 21:39:27 christos Exp $ # @(#)Makefile 8.2 (Berkeley) 3/27/94 CWARNFLAGS+= -Wno-sign-compare @@ -20,4 +20,8 @@ DPADD+=${LIBPROP} .PATH: ${NETBSDSRCDIR}/sys/ufs/ext2fs ${FSCK} +.if ${MACHINE_ARCH} == "vax" +COPTS.mke2fs.c=-O0 +.endif + .include <bsd.prog.mk> Index: src/sbin/ping/Makefile diff -u src/sbin/ping/Makefile:1.16 src/sbin/ping/Makefile:1.17 --- src/sbin/ping/Makefile:1.16 Mon Dec 13 12:42:17 2010 +++ src/sbin/ping/Makefile Sat Nov 9 16:39:27 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2010/12/13 17:42:17 pooka Exp $ +# $NetBSD: Makefile,v 1.17 2013/11/09 21:39:27 christos Exp $ # @(#)Makefile 8.1 (Berkeley) 6/5/93 USE_FORT?= yes # setuid @@ -12,4 +12,8 @@ CPPFLAGS+= -DIPSEC LDADD+= -lipsec DPADD+= ${LIBIPSEC} +.if ${MACHINE_ARCH} == "vax" +COPTS.ping.c=-O0 +.endif + .include <bsd.prog.mk> Index: src/usr.sbin/lmcconfig/Makefile diff -u src/usr.sbin/lmcconfig/Makefile:1.1 src/usr.sbin/lmcconfig/Makefile:1.2 --- src/usr.sbin/lmcconfig/Makefile:1.1 Mon Dec 5 22:12:35 2005 +++ src/usr.sbin/lmcconfig/Makefile Sat Nov 9 16:39:28 2013 @@ -1,6 +1,13 @@ -# $NetBSD: Makefile,v 1.1 2005/12/06 03:12:35 christos Exp $ +# $NetBSD: Makefile,v 1.2 2013/11/09 21:39:28 christos Exp $ + +.include <bsd.own.mk> PROG= lmcconfig MAN= lmcconfig.8 CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dev/pci + +.if ${MACHINE_ARCH} == "vax" +COPTS.lmcconfig.c=-O0 +.endif + .include <bsd.prog.mk> Index: src/usr.sbin/mtrace/Makefile diff -u src/usr.sbin/mtrace/Makefile:1.10 src/usr.sbin/mtrace/Makefile:1.11 --- src/usr.sbin/mtrace/Makefile:1.10 Mon May 28 08:06:38 2007 +++ src/usr.sbin/mtrace/Makefile Sat Nov 9 16:39:28 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/05/28 12:06:38 tls Exp $ +# $NetBSD: Makefile,v 1.11 2013/11/09 21:39:28 christos Exp $ # from: Id: Makefile,v 1.5 1993/06/24 05:11:16 deering Exp .include <bsd.own.mk> @@ -12,6 +12,10 @@ PROG= mtrace SRCS= igmp.c inet.c kern.c mtrace.c MAN= mtrace.8 +.if ${MACHINE_ARCH} == "vax" +COPTS.mtrace.c=-O0 +.endif + BINMODE=4555 BINOWN= root