From 8bc4e96cb93ae9f7fd2ade9183b33421e8cd66f7 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 6 Oct 2008 14:20:12 +0000 Subject: Disable "-Wstack-protector" in a slightly nicer way. --- gnu/lib/libgcc4/libgcov/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gnu/lib') diff --git a/gnu/lib/libgcc4/libgcov/Makefile b/gnu/lib/libgcc4/libgcov/Makefile index 055f4ef2c6b..06e2d1f0bac 100644 --- a/gnu/lib/libgcc4/libgcov/Makefile +++ b/gnu/lib/libgcc4/libgcov/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2008/09/25 17:40:05 tron Exp $ +# $NetBSD: Makefile,v 1.3 2008/10/06 14:20:12 tron Exp $ REQUIRETOOLS= yes NOPIC= # defined @@ -16,7 +16,7 @@ LIB= gcov LIBGCOVSRCS= ${G_LIBGCOV:=.c} CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH} - +CPPFLAGS+= -Wno-stack-protector DPSRCS+= ${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk SRCS+= ${LIBGCOVSRCS} @@ -28,8 +28,6 @@ ${LIBGCOVSRCS}: ${.CURDIR}/Makefile printf '#define L${.PREFIX}\n#include \n' >${.TARGET} .include - -COPTS+= -Wno-stack-protector .else .include # do nothing .endif -- cgit