Jeremie Courreges-Anglas <j...@wxcvbn.org> writes:

> Jonathan Gray <j...@jsg.id.au> writes:
>
>> Use ports gcc4 on arm to get the required atomic builtins.
>
> I sent the same diff to Robert, but with MODGCC4_ARCHS+=arm, and also
> MODGCC4_LANGS+=c++.  Maybe not strictly needed, but it's probably better
> to use the same toolchain for C and C++ (ext/intl contains C++ code).

Oh and the diff also used "+=" for MODGCC4_ARCHS.  Doesn't matter now,
since no php version already use the gcc4 module.

It would be nice to move on before phessler starts the next bulk.


Index: .//Makefile.inc
===================================================================
RCS file: /d/cvs/ports/lang/php/Makefile.inc,v
retrieving revision 1.88
diff -u -p -p -u -r1.88 Makefile.inc
--- .//Makefile.inc     4 Nov 2016 11:35:19 -0000       1.88
+++ .//Makefile.inc     30 Dec 2016 22:17:51 -0000
@@ -27,6 +27,11 @@ MASTER_SITES0=               https://download.suhosin
 # and make sure they are safe before an upgrade
 PERMIT_PACKAGE_CDROM=   Yes
 
+MODULES+=              gcc4
+# for atomic builtins
+MODGCC4_ARCHS+=                arm
+MODGCC4_LANGS+=                c++
+
 MODPHP_CONFIG_PATH=    /var/www/conf
 
 # where the main php module is stored (outside the chroot)

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to