diff options
| author | tron <tron@NetBSD.org> | 2008-09-25 17:40:05 +0000 |
|---|---|---|
| committer | tron <tron@NetBSD.org> | 2008-09-25 17:40:05 +0000 |
| commit | c923257caa5d7b54dbf2aaada0544dad4ab0645e (patch) | |
| tree | 777af5766f5a3b29b9062d240922f8f31b551a00 /gnu/lib | |
| parent | 44367b7199e880e3d85d71339b0ad5900c4872ff (diff) | |
As "libgcov.c" uses alloca(3) (*yuuuk*) disable "-Wstack-protector" to
fix the build with "USE_SSP" set to "yes".
Diffstat (limited to 'gnu/lib')
| -rw-r--r-- | gnu/lib/libgcc4/libgcov/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/lib/libgcc4/libgcov/Makefile b/gnu/lib/libgcc4/libgcov/Makefile index c5ee96c6606..055f4ef2c6b 100644 --- a/gnu/lib/libgcc4/libgcov/Makefile +++ b/gnu/lib/libgcc4/libgcov/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2008/09/23 06:59:42 skrll Exp $ +# $NetBSD: Makefile,v 1.2 2008/09/25 17:40:05 tron Exp $ REQUIRETOOLS= yes NOPIC= # defined @@ -17,6 +17,7 @@ LIBGCOVSRCS= ${G_LIBGCOV:=.c} CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH} + DPSRCS+= ${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk SRCS+= ${LIBGCOVSRCS} @@ -28,6 +29,7 @@ ${LIBGCOVSRCS}: ${.CURDIR}/Makefile .include <bsd.lib.mk> +COPTS+= -Wno-stack-protector .else .include <bsd.prog.mk> # do nothing .endif |
