]> git.ipfire.org Git - thirdparty/xz.git/commit
CI: Workaround buggy config.guess on Ubuntu 22.04LTS and 24.04LTS
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 24 Jun 2024 14:39:54 +0000 (17:39 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Mon, 24 Jun 2024 15:15:58 +0000 (18:15 +0300)
commit1bf83cded2955282fe1a868f08c83d4e5d6dca4a
tree5d3991a6ad1ac2b520ed7774a5161f2fc17e7308
parentdbcdabf68fee9ed694b68c3a82e6adbeff20b679
CI: Workaround buggy config.guess on Ubuntu 22.04LTS and 24.04LTS

Check for the wrong triplet from config.guess and override it with
the --build option on the configure command line. Then i386 assembly
autodetection will work.

These Ubuntu versions (and as of writing, also Debian unstable)
ship config.guess version 2022-01-09 which contains a bug that
was fixed in version 2022-05-08. It results in a wrong configure
triplet when using CC="gcc -m32" to build i386 binaries.

Upstream fix:
https://git.savannah.gnu.org/cgit/config.git/commit/?id=f56a7140386d08a531bcfd444d632b28c61a6329

More information:
https://mail.gnu.org/archive/html/config-patches/2022-05/msg00003.html
build-aux/ci_build.bash