summaryrefslogtreecommitdiff
path: root/lang/php70/Makefile.php
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php70/Makefile.php')
-rw-r--r--lang/php70/Makefile.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/php70/Makefile.php b/lang/php70/Makefile.php
index 49c76c1bbe4..1d972f8db31 100644
--- a/lang/php70/Makefile.php
+++ b/lang/php70/Makefile.php
@@ -1,8 +1,14 @@
-# $NetBSD: Makefile.php,v 1.7.10.1 2018/08/17 17:37:22 bsiegert Exp $
+# $NetBSD: Makefile.php,v 1.7.10.2 2018/09/18 18:42:13 bsiegert Exp $
# used by lang/php70/Makefile
# used by www/ap-php/Makefile
# used by www/php-fpm/Makefile
+# With --disable-gcc-global-regs, works around
+# https://bugs.php.net/bug.php?id=74527
+.if ${MACHINE_ARCH} == "i386"
+GCC_REQD+= 6.4
+.endif
+
.include "../../lang/php70/Makefile.common"
DISTINFO_FILE= ${.CURDIR}/../../lang/php70/distinfo