depends: Package cleanup

All patching should be in _preprocess_cmd. config_cmd should just run
configure and nothing else before it, otherwise $PATH is broken when it runs.

Also remove redundant settings to configure, _autoconf already sets them.
We leave explicit AR_FLAGS settings because the builtin rule uses ARFLAGS,
and so would leave AR_FLAGS unset otherwise.
This commit is contained in:
Howard Chu 2022-05-09 19:47:33 +01:00
parent c1d47eb476
commit 5c27fd853f
No known key found for this signature in database
GPG key ID: FD2A70B44AB11BA7
7 changed files with 15 additions and 20 deletions

View file

@ -1,7 +1,7 @@
OSX_MIN_VERSION=10.8
LD64_VERSION=609
ifeq (aarch64, $(host_arch))
CC_target=arm64-apple-darwin11
CC_target=arm64-apple-$(host_os)
else
CC_target=$(host)
endif