vax specific gcc 4.8.1 hacks
This commit is contained in:
parent
bbf7aa1dd5
commit
f55ff5e8dd
|
@ -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}
|
||||
|
|
|
@ -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_MACHINE_ARCH} \
|
|||
|
||||
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>
|
||||
|
|
|
@ -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-lrs
|
|||
.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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue