build.sh: Only support 32/64bit word sizes.

flac
Doug Coleman 2020-03-30 17:28:02 -05:00 committed by Steve Ayerhart
parent 0d2a36f081
commit ff4c3d8517
No known key found for this signature in database
GPG Key ID: 5BFD39C5359E967D
1 changed files with 8 additions and 0 deletions

View File

@ -324,6 +324,14 @@ c_find_word_size() {
check_ret $CC
./$C_WORD
WORD=$?
case $WORD in
32) ;;
64) ;;
*)
echo "Word size should be 32/64, got $WORD"
exit_script 15;;
esac
$DELETE -f $C_WORD
}