commit 4698cdfbd6f16e802ef9ca07bfbaf06540b8b11f
parent e4f88c950eb2b7975b3ef65138207a91e58d0c32
Author: finwo <finwo@pm.me>
Date: Wed, 20 Nov 2019 16:15:47 +0100
Allow using gentoo's CFLAGS
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/php/root/usr/bin/phpvm b/php/root/usr/bin/phpvm
@@ -23,9 +23,12 @@ version() {
export MAKEOPTS="-j$(($(ncpu)+1))"
-export CFLAGS=
export CONFOPTS=
+if [ -z "${CFLAGS+x}" ]; then
+ export CFLAGS=
+fi
+
# Gentoo stuff
if [ -f /etc/portage/make.conf ]; then
source /etc/portage/make.conf