Sprinkle -Wno-stack-protector. Gnu programs use too much alloca :-)
This commit is contained in:
parent
e81129f492
commit
98e199228a
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2003/01/26 00:40:40 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2006/11/10 17:36:08 christos Exp $
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
|
@ -15,5 +15,7 @@ LDADD+= ${LIBDIFFUTILS}
|
|||
INFOFLAGS= -I${IDIST}/doc
|
||||
TEXINFO= diff.texi
|
||||
|
||||
COPTS.ifdef.c = -Wno-stack-protector
|
||||
|
||||
.include <bsd.info.mk>
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2006/09/29 20:14:10 apb Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2006/11/10 17:36:08 christos Exp $
|
||||
|
||||
MKPRIVATELIB= yes
|
||||
|
||||
|
@ -301,4 +301,6 @@ insn-extract.o: insn-config.h
|
|||
toplev.d toplev.o: options.h
|
||||
coverage.d: gcov-iov.h
|
||||
|
||||
COPTS+=-Wno-stack-protector
|
||||
|
||||
.PATH: ${DIST}/gcc ${DIST}/libiberty ${GCCARCH} ${G_out_file:H} ${DIST}/include
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1 2006/05/10 22:48:13 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2006/11/10 17:36:08 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -21,4 +21,6 @@ INFOFLAGS= -I${DIST}/gcc/doc -I${DIST}/gcc/doc/include
|
|||
|
||||
.include <bsd.info.mk>
|
||||
|
||||
COPTS.builtins.c = -Wno-stack-protector
|
||||
|
||||
gcc.info: gcc-vers.texi
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1 2006/05/10 22:48:14 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2006/11/10 17:36:08 christos Exp $
|
||||
|
||||
MKPRIVATELIB= yes
|
||||
|
||||
|
@ -17,6 +17,11 @@ SRCS= ${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
|
|||
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/arch/${MACHINE_ARCH} \
|
||||
-I${DIST}/include
|
||||
|
||||
COPTS.argv.c = -Wno-stack-protector
|
||||
COPTS.cp-demangle.c = -Wno-stack-protector
|
||||
COPTS.make-relative-prefix.c = -Wno-stack-protector
|
||||
COPTS.regex.c = -Wno-stack-protector
|
||||
|
||||
.PATH: ${DIST}/libiberty
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2006/09/27 18:37:41 drochner Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2006/11/10 17:36:08 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -34,6 +34,9 @@ CPPFLAGS.inf-ptrace.c= -Wno-error
|
|||
.PATH: ${DIST}/gdb ${DIST}/gdb/mi ${DIST}/gdb/cli ${DIST}/gdb/tui \
|
||||
${DIST}/gdb/signals ${DIST}/gdb/doc ${.CURDIR}/../arch/${MACHINE_ARCH}
|
||||
|
||||
#
|
||||
COPTS+= -Wno-stack-protector
|
||||
|
||||
# ignore yacc-generated files in ${DIST}/gdb
|
||||
m2-exp.c: .NOPATH
|
||||
p-exp.c: .NOPATH
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2006/05/29 19:18:56 nathanw Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2006/11/10 17:36:08 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -16,6 +16,11 @@ SRCS= ${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
|
|||
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/arch/${MACHINE_ARCH} \
|
||||
-I${DIST}/include
|
||||
|
||||
COPTS.argv.c = -Wno-stack-protector
|
||||
COPTS.cp-demangle.c = -Wno-stack-protector
|
||||
COPTS.make-relative-prefix.c = -Wno-stack-protector
|
||||
COPTS.regex.c = -Wno-stack-protector
|
||||
|
||||
.PATH: ${DIST}/libiberty
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2006/06/02 22:16:23 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2006/11/10 17:36:08 christos Exp $
|
||||
|
||||
MKPRIVATELIB= yes
|
||||
|
||||
|
@ -21,4 +21,6 @@ strdup.c
|
|||
.PATH: ${DIST}/gettext/gettext-tools/libgrep
|
||||
CPPFLAGS+= -I${DIST}/gettext/gettext-tools/libgrep
|
||||
|
||||
COPTS.regex.c = -Wno-stack-protector
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2006/06/02 22:16:23 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2006/11/10 17:36:08 christos Exp $
|
||||
|
||||
MKPRIVATELIB= yes
|
||||
|
||||
|
@ -74,6 +74,20 @@ CPPFLAGS+=-DLIBDIR=\"${DESTDIR}/usr/share\"
|
|||
CPPFLAGS+=-DGETTEXTJAR=\"${DESTDIR}/usr/share/gettext/gettext.jar\"
|
||||
CPPFLAGS+=-DGETTEXTDATADIR=\"${DESTDIR}/usr/share/gettext\"
|
||||
|
||||
COPTS.format-java.c = -Wno-stack-protector
|
||||
COPTS.msgl-cat.c = -Wno-stack-protector
|
||||
COPTS.msgl-charset.c = -Wno-stack-protector
|
||||
COPTS.msgl-iconv.c = -Wno-stack-protector
|
||||
COPTS.plural.c = -Wno-stack-protector
|
||||
COPTS.po-charset.c = -Wno-stack-protector
|
||||
COPTS.po-gram-gen.c = -Wno-stack-protector
|
||||
COPTS.read-tcl.c = -Wno-stack-protector
|
||||
COPTS.write-csharp.c = -Wno-stack-protector
|
||||
COPTS.write-java.c = -Wno-stack-protector
|
||||
COPTS.write-mo.c = -Wno-stack-protector
|
||||
COPTS.write-po.c = -Wno-stack-protector
|
||||
COPTS.write-tcl.c = -Wno-stack-protector
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
# Override <sys.mk> double suffix rules to prevent *.y being yacced to *.[ch]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2006/06/02 22:16:23 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2006/11/10 17:36:08 christos Exp $
|
||||
|
||||
MKPRIVATELIB= yes
|
||||
|
||||
|
@ -62,4 +62,9 @@ xstrdup.c
|
|||
|
||||
CPPFLAGS+=-DEXEEXT=\"\"
|
||||
|
||||
COPTS.csharpcomp.c = -Wno-stack-protector
|
||||
COPTS.csharpexec.c = -Wno-stack-protector
|
||||
COPTS.javacomp.c = -Wno-stack-protector
|
||||
COPTS.javaexec.c = -Wno-stack-protector
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2005/04/29 15:05:01 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2006/11/10 17:36:08 christos Exp $
|
||||
|
||||
PROG= msginit
|
||||
SRCS+= msginit.c \
|
||||
|
@ -13,4 +13,7 @@ CPPFLAGS+=-DLIBDIR=\"${DESTDIR}/usr/share\" \
|
|||
-DPROJECTSDIR=\"${DESTDIR}/usr/share\" \
|
||||
-DLOCALE_ALIAS_PATH=\"${DESTDIR}/usr/share/locale\"
|
||||
|
||||
COPTS.msginit.c = -Wno-stack-protector
|
||||
COPTS.localealias.c = -Wno-stack-protector
|
||||
|
||||
.PATH: ${DIST}/gettext/gettext-runtime/intl
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2005/04/29 15:05:02 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2006/11/10 17:36:09 christos Exp $
|
||||
|
||||
PROG= xgettext
|
||||
SRCS= \
|
||||
|
@ -24,6 +24,8 @@ x-smalltalk.c \
|
|||
x-tcl.c \
|
||||
x-ycp.c
|
||||
|
||||
COPTS.xgettext.c = -Wno-stack-protector
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include "${.CURDIR}/../Makefile.inc.prog"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2004/05/23 02:24:51 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2006/11/10 17:36:09 christos Exp $
|
||||
|
||||
MKPRIVATELIB= yes
|
||||
|
||||
|
@ -13,4 +13,7 @@ SRCS= closeout.c error.c exclude.c hard-locale.c isdir.c \
|
|||
obstack.c quotearg.c regex.c savedir.c stpcpy.c \
|
||||
xmalloc.c xstrtol.c xstrtoumax.c
|
||||
|
||||
COPTS.hard-locale.c = -Wno-stack-protector
|
||||
COPTS.regex.c = -Wno-stack-protector
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
|
Loading…
Reference in New Issue