summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authortron <tron@NetBSD.org>2014-03-24 23:03:01 +0000
committertron <tron@NetBSD.org>2014-03-24 23:03:01 +0000
commitdf567d83b25b183223b6d1ebf7b1f5d6f58efedd (patch)
tree1e7506139a8e0a725b8d027f270f0c77b3b6e300 /gnu
parent4564265fc346b976eaa244fd13d207abcf8d5b2e (diff)
Don't compile with fortification. It breaks makeinfo(1) for certain
input files (e.g. "cl.texi" shipped with Emacs 23.4) if it is compiled with GCC 4.8.3 and "USE_SSP" set to "yes".
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/texinfo/makeinfo/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/texinfo/makeinfo/Makefile b/gnu/usr.bin/texinfo/makeinfo/Makefile
index 94e81e906dc..3bd62b4396c 100644
--- a/gnu/usr.bin/texinfo/makeinfo/Makefile
+++ b/gnu/usr.bin/texinfo/makeinfo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2011/05/26 12:56:29 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2014/03/24 23:03:01 tron Exp $
PROG= makeinfo
SRCS= cmds.c defun.c files.c float.c footnote.c \
@@ -12,4 +12,6 @@ WARNS?= 0 # pointer sign issues
.include <bsd.prog.mk>
+CPPFLAGS:= ${CPPFLAGS:S/-D_FORTIFY_SOURCE=2//}
+
.PATH: ${IDIST}/makeinfo ${IDIST}/doc