Fix PHP buidl on i386
The --disable-gcc-global-regs fix is not enough, we really need GCC 6 to avoid php crashing during www/ap-ph build.
This commit is contained in:
parent
88fba32f75
commit
8342efde17
3 changed files with 21 additions and 3 deletions
|
@ -1,8 +1,14 @@
|
|||
# $NetBSD: Makefile.php,v 1.9 2018/07/18 07:33:12 manu Exp $
|
||||
# $NetBSD: Makefile.php,v 1.10 2018/07/30 07:17:15 manu 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
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
# $NetBSD: Makefile.php,v 1.8 2018/07/18 07:33:12 manu Exp $
|
||||
# $NetBSD: Makefile.php,v 1.9 2018/07/30 07:17:16 manu Exp $
|
||||
# used by lang/php71/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/php71/Makefile.common"
|
||||
|
||||
DISTINFO_FILE= ${.CURDIR}/../../lang/php71/distinfo
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
# $NetBSD: Makefile.php,v 1.6 2018/07/18 07:33:12 manu Exp $
|
||||
# $NetBSD: Makefile.php,v 1.7 2018/07/30 07:17:16 manu Exp $
|
||||
# used by lang/php72/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
|
||||
|
||||
# the binary actually needs full dep on PCRE
|
||||
BUILDLINK_DEPMETHOD.pcre= full
|
||||
|
||||
|
|
Loading…
Reference in a new issue