1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

Make sure config.sub and config.guess are executable (#1024)

* Make sure config.sub and config.guess are executable

This fixes Spack build on ppc64 and aarch64, see https://github.com/spack/spack/pull/21256

* Move config files after setting their mode

Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com>
This commit is contained in:
Baptiste Jonglez 2021-01-27 14:00:46 +01:00 committed by Frank Denis
parent d510af81d0
commit 661e7e6373

View File

@ -103,10 +103,12 @@ fi
curl -sSL --fail -o config.guess \ curl -sSL --fail -o config.guess \
'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' && 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' &&
mv -f config.guess build-aux/config.guess chmod +x config.guess &&
chmod +x build-aux/config.guess
curl -sSL --fail -o config.sub \ curl -sSL --fail -o config.sub \
'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' && 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' &&
chmod +x build-aux/config.sub &&
mv -f config.sub build-aux/config.sub mv -f config.sub build-aux/config.sub
echo "Done." echo "Done."