diff options
author | Dylan T <dktapps@pmmp.io> | 2021-02-16 18:40:26 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-17 09:45:12 +0100 |
commit | 408272b8d9d08ebdb31cea43535006fef28f9c1f (patch) | |
tree | 9ef9e5ad5fa063d8fb8c9e8212eab5dae7270d00 | |
parent | fad87a24daa8a79f7bcb9d4088f7d96d6f405cac (diff) | |
download | php-git-408272b8d9d08ebdb31cea43535006fef28f9c1f.tar.gz |
Remove generated zend_jit_x86.c on `make clean`
Not removing this causes build failure when reconfiguring and rebuilding after a `make clean`, e.g. enabling/disabling ZTS.
This makes https://bugs.php.net/bug.php?id=80561 more bearable. Ideally it would be rebuilt automatically on configuration change if necessary, but I have no idea how to implement this.
Closes GH-6702.
-rw-r--r-- | build/Makefile.global | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Makefile.global b/build/Makefile.global index ae797408b5..6566d052de 100644 --- a/build/Makefile.global +++ b/build/Makefile.global @@ -116,6 +116,7 @@ clean: find . -name \*.so | xargs rm -f find . -name .libs -a -type d|xargs rm -rf rm -f libphp.la $(SAPI_CLI_PATH) $(SAPI_CGI_PATH) $(SAPI_LITESPEED_PATH) $(SAPI_FPM_PATH) $(OVERALL_TARGET) modules/* libs/* + rm -f ext/opcache/jit/zend_jit_x86.c distclean: clean rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h main/internal_functions_cli.c main/internal_functions.c Zend/zend_dtrace_gen.h Zend/zend_dtrace_gen.h.bak Zend/zend_config.h @@ -124,7 +125,6 @@ distclean: clean rm -f scripts/man1/phpize.1 scripts/php-config scripts/man1/php-config.1 sapi/cli/php.1 sapi/cgi/php-cgi.1 sapi/phpdbg/phpdbg.1 ext/phar/phar.1 ext/phar/phar.phar.1 rm -f sapi/fpm/php-fpm.conf sapi/fpm/init.d.php-fpm sapi/fpm/php-fpm.service sapi/fpm/php-fpm.8 sapi/fpm/status.html rm -f ext/phar/phar.phar ext/phar/phar.php - rm -f ext/opcache/jit/zend_jit_x86.c if test "$(srcdir)" != "$(builddir)"; then \ rm -f ext/phar/phar/phar.inc; \ fi |