summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/php70/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/php70/Makefile b/lang/php70/Makefile
index 3e0042f7835..370f8f26814 100644
--- a/lang/php70/Makefile
+++ b/lang/php70/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2017/04/13 14:19:19 taca Exp $
+# $NetBSD: Makefile,v 1.8 2017/05/03 11:41:36 maya Exp $
#
# We can't omit PKGNAME here to handle PKG_OPTIONS.
@@ -18,6 +18,11 @@ PHP_CHECK_INSTALLED= No
PHP_VERSIONS_ACCEPTED= 70
+# PHP bug #74526 - segfaults on build with GCC 4.8.5 i386
+.if ${MACHINE_ARCH} == "i386"
+GCC_REQD+= 4.9
+.endif
+
.include "Makefile.php"
CGIDIR= ${PREFIX}/libexec/cgi-bin