Module Name:    src
Committed By:   tron
Date:           Mon Jul 18 17:01:04 UTC 2011

Modified Files:
        src/external/lgpl3/mpfr/lib/libmpfr: Makefile

Log Message:
Disable SSP warnings (not SSP itself) for this library as their are too
many source files with functions that use variable sized arrays.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/lgpl3/mpfr/lib/libmpfr/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/lgpl3/mpfr/lib/libmpfr/Makefile
diff -u src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.6 src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.7
--- src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.6	Wed Jul  6 19:52:06 2011
+++ src/external/lgpl3/mpfr/lib/libmpfr/Makefile	Mon Jul 18 17:01:04 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2011/07/06 19:52:06 drochner Exp $
+#	$NetBSD: Makefile,v 1.7 2011/07/18 17:01:04 tron Exp $
 
 .include <bsd.init.mk>
 
@@ -513,3 +513,9 @@
 .if ${LIBMPFR_MACHINE_ARCH} == "vax"
 COPTS.set_ld.c+=	-Wno-error
 .endif
+
+# Don't warn about functions which cannot be stack smash protected as
+# there are a lot of them.
+.if defined(HAVE_GCC) || defined(HAVE_PCC)
+COPTS += -Wno-stack-protector
+.endif

Reply via email to