Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2019 14:32:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240883] Mk/Uses/php.mk: fix build of all PHP modules when using php74 on GCC architectures
Message-ID:  <bug-240883-7788-IwOarPGvLz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240883-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240883-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240883

--- Comment #4 from Piotr Kubaj <pkubaj@FreeBSD.org> ---
(In reply to Alex Dupre from comment #3)
"Why the previous patch doesn't work"
It's probably because USES is added too late, it should be in the Makefile
instead. When added to Mk/Uses, USES value is actually changed, but CC does=
n't
change.

Look at Mk/Uses/qt-dist.mk, it's done the same way.

"why do we not have USE_GCC for those archs in lang/php74 Makefile"
We do have USES=3Dcompiler:c11 (which sets USE_GCC on GCC platforms), but t=
hat
only works for php74 and the ports that include lang/php74/Makefile (all
*/php74-* ports, e.g. archivers/php74-bz2).

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240883-7788-IwOarPGvLz>