]> git.pld-linux.org Git - packages/php.git/commitdiff
Make sure invalid --configure-flags are fatal errors intead of just warnings
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 30 May 2020 12:21:13 +0000 (15:21 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Sat, 30 May 2020 12:21:37 +0000 (15:21 +0300)
- https://github.com/docker-library/php/blob/8982189eac80c6b0a427df33811a4a4e9f3e735d/7.3-rc/alpine3.8/fpm/Dockerfile#L120-L121

php.spec

index 1bd7f18dbff1e19ff221e3b54b85c8f130ac328a..9ea5979d9594f717991fba3dd144bb5fd5538cb2 100644 (file)
--- 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} \
This page took 0.839438 seconds and 4 git commands to generate.