From: Elan Ruusamäe Date: Sat, 30 May 2020 12:21:13 +0000 (+0300) Subject: Make sure invalid --configure-flags are fatal errors intead of just warnings X-Git-Tag: auto/th/php74-7.4.6-2~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fphp.git;a=commitdiff_plain;h=8beb76f 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 --- 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} \