diff --git a/configure.ac b/configure.ac index 754beed98bb..728dd9ed4f5 100644 --- a/configure.ac +++ b/configure.ac @@ -1535,6 +1535,9 @@ PHP_SET_LIBTOOL_VARIABLE([--silent]) dnl libtool 1.4.3 needs this. PHP_SET_LIBTOOL_VARIABLE([--preserve-dup-deps]) +dnl This needs to be passed explicitly to allow scan-build compiler overrides. +PHP_SET_LIBTOOL_VARIABLE([--tag CC]) + test -z "$PHP_COMPILE" && PHP_COMPILE='$(LIBTOOL) --mode=compile $(COMPILE) -c $<' test -z "$CXX_PHP_COMPILE" && CXX_PHP_COMPILE='$(LIBTOOL) --mode=compile $(CXX_COMPILE) -c $<' SHARED_LIBTOOL='$(LIBTOOL)'