Fix build with stack smash protection enabled.

This commit is contained in:
tron 2011-10-22 10:41:50 +00:00
parent fa6db268de
commit 84030af9c0

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2011/10/17 14:20:54 chs Exp $
# $NetBSD: Makefile,v 1.8 2011/10/22 10:41:50 tron Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@ -41,6 +41,8 @@ BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/rs6000/${file:S/.S$/.asm/} ${file}
# the -fpic/-FPIC present in ${G_LIBGCC2_CFLAGS}.
MKPIC:= no
COPTS.unwind-dw2.c = -Wno-stack-protector
.include <bsd.lib.mk>