Merge pull request #5871 from daira/clean-before-build

zcutil/build.sh: Run zcutil/clean.sh before building
This commit is contained in:
Charlie O'Keefe 2022-04-14 10:46:31 -06:00 committed by GitHub
commit e00a1215c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -4,3 +4,9 @@ release-notes at release time)
Notable changes
===============
Build system
------------
- `zcutil/build.sh` now automatically runs `zcutil/clean.sh` to remove
files created by previous builds. We previously recommended to do this
manually.

View File

@ -84,6 +84,7 @@ then
exit 0
fi
./zcutil/clean.sh
./autogen.sh
CONFIG_SITE="$PWD/depends/$HOST/share/config.site" ./configure $CONFIGURE_FLAGS
"$MAKE" "$@"