build: copy config.{guess,sub} post autogen in zmq package

Otherwise our config.guess and config.sub will be copied over. This
problem has been masked by the fact that modern systems ship with
versions that recognise all the triplets we use (namely
arm64-apple-darwin). However building on ubuntu 20.04 surfaces the
issue.

Fixes #26420.
This commit is contained in:
fanquake
2022-10-29 15:51:10 +01:00
parent 4f270d2b63
commit 1914e470e3

View File

@@ -20,12 +20,12 @@ endef
define $(package)_preprocess_cmds define $(package)_preprocess_cmds
patch -p1 < $($(package)_patch_dir)/remove_libstd_link.patch && \ patch -p1 < $($(package)_patch_dir)/remove_libstd_link.patch && \
patch -p1 < $($(package)_patch_dir)/netbsd_kevent_void.patch && \ patch -p1 < $($(package)_patch_dir)/netbsd_kevent_void.patch
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub config
endef endef
define $(package)_config_cmds define $(package)_config_cmds
./autogen.sh && \ ./autogen.sh && \
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub config && \
$($(package)_autoconf) $($(package)_autoconf)
endef endef