From a15d827eb9cbb885a8d24f6568ab86f7dea1ca21 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sun, 20 Dec 2020 23:07:21 -0600 Subject: [PATCH] build.sh: getconf LONG_BIT finds word size without C/C++. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 86aeea9645..ac957f70de 100755 --- a/build.sh +++ b/build.sh @@ -329,7 +329,7 @@ find_num_cores() { find_word_size() { if [[ -n $WORD ]] ; then return; fi $ECHO "Finding WORD..." - WORD=$(find_word_size_cpp || find_word_size_c) + WORD=$(getconf LONG_BIT || find_word_size_cpp || find_word_size_c) } find_word_size_cpp() { -- 2.34.1