commit fedc670cb08b6934817e67025e99c8befdc4fcc9
parent 4698cdfbd6f16e802ef9ca07bfbaf06540b8b11f
Author: finwo <finwo@pm.me>
Date: Thu, 21 Nov 2019 09:48:57 +0100
Added phpvm config support
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/php/root/usr/bin/phpvm b/php/root/usr/bin/phpvm
@@ -24,16 +24,17 @@ version() {
export MAKEOPTS="-j$(($(ncpu)+1))"
export CONFOPTS=
-
-if [ -z "${CFLAGS+x}" ]; then
- export CFLAGS=
-fi
+export CFLAGS=
# Gentoo stuff
if [ -f /etc/portage/make.conf ]; then
source /etc/portage/make.conf
fi
+if [ -f /etc/phpvmrc ]; then
+ source /etc/phpvmrc
+fi
+
# Build-in extensions
BUILDINS=()
BUILDINS+=("fpm" "calendar" "dba" "exif" "mbstring" "ftp" "pcntl" "soap")