Sprinkle -Wno-stack-protector

This commit is contained in:
christos 2006-11-09 21:27:58 +00:00
parent fc3c3a7a5c
commit 2d8fd6a6dd
4 changed files with 17 additions and 4 deletions

View File

@ -1,7 +1,9 @@
# $NetBSD: Makefile,v 1.6 2002/09/16 16:22:17 thorpej Exp $
# $NetBSD: Makefile,v 1.7 2006/11/09 21:27:58 christos Exp $
PROG= ar
COPTS.arparse.c = -Wno-stack-protector
.include <bsd.own.mk>
.include "${.CURDIR}/../common/Makefile.prog"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2003/11/27 15:02:21 mrg Exp $
# $NetBSD: Makefile,v 1.8 2006/11/09 21:27:58 christos Exp $
.include <bsd.own.mk>
@ -13,6 +13,13 @@ SRCS= ${G_OBJS:Nitbl-[pl]*:Nm68k-parse.o:.o=.c} \
${G_OBJS:Mitbl-lex.o:.o=.l} \
${G_OBJS:Mm68k-parse.o:.o=.y}
COPTS.obj-elf.c = -Wno-stack-protector
COPTS.atof-generic.c = -Wno-stack-protector
COPTS.dwarf2dbg.c = -Wno-stack-protector
COPTS.symbols.c = -Wno-stack-protector
COPTS.stabs.c = -Wno-stack-protector
COPTS.macro.c = -Wno-stack-protector
CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH}
CPPFLAGS+= -I${DIST}/gas -I${DIST}/gas/config
CPPFLAGS+= -I${DIST}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.23 2005/10/02 17:52:22 chs Exp $
# $NetBSD: Makefile,v 1.24 2006/11/09 21:27:58 christos Exp $
.include <bsd.own.mk>
@ -20,6 +20,8 @@ CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH} \
LDADD= -lintl
DPADD= ${LIBINTL}
COPTS.ldgram.c = -Wno-stack-protector
BFDOBJ!= cd ${TOP}/${BFDSUBDIR}/libbfd && ${PRINTOBJDIR}
LDADD+= -L${BFDOBJ} -lbfd
.if ${MKPICLIB} != "no"

View File

@ -1,7 +1,9 @@
# $NetBSD: Makefile,v 1.6 2002/09/16 16:22:20 thorpej Exp $
# $NetBSD: Makefile,v 1.7 2006/11/09 21:27:58 christos Exp $
PROG= ranlib
.include <bsd.own.mk>
COPTS.arparse.c = -Wno-stack-protector
.include "${.CURDIR}/../common/Makefile.prog"