[packages/php] Make sure invalid --configure-flags are fatal errors intead of just warnings

glen glen at pld-linux.org
Sat May 30 14:32:17 CEST 2020


commit 8beb76f083a484b273bb6c3b17aadc5df5cacb79
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat May 30 15:21:13 2020 +0300

    Make sure invalid --configure-flags are fatal errors intead of just warnings
    
    - https://github.com/docker-library/php/blob/8982189eac80c6b0a427df33811a4a4e9f3e735d/7.3-rc/alpine3.8/fpm/Dockerfile#L120-L121

 php.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/php.spec b/php.spec
index 1bd7f18..9ea5979 100644
--- a/php.spec
+++ b/php.spec
@@ -2206,6 +2206,7 @@ for sapi in $sapis; do
 	--%{!?with_debug:dis}%{?with_debug:en}able-debug \
 	%{?with_zts:--enable-maintainer-zts} \
 	--enable-inline-optimization \
+	--enable-option-checking=fatal \
 	%{__enable_disable bcmath bcmath shared} \
 	%{__enable_disable calendar calendar shared} \
 	%{__enable_disable ctype ctype shared} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/8beb76f083a484b273bb6c3b17aadc5df5cacb79



More information about the pld-cvs-commit mailing list