Skip to content

Commit

Permalink
Make sure config.sub and config.guess are executable (jedisct1#1024)
Browse files Browse the repository at this point in the history
* Make sure config.sub and config.guess are executable

This fixes Spack build on ppc64 and aarch64, see spack/spack#21256

* Move config files after setting their mode

Co-authored-by: Frank Denis <[email protected]>
  • Loading branch information
jonglezb and jedisct1 committed Jan 27, 2021
1 parent e4206f1 commit e890098
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,12 @@ fi

curl -sSL --fail -o config.guess \
'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 \
'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

echo "Done."
Expand Down

0 comments on commit e890098

Please sign in to comment.