mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-09 20:29:26 -04:00
tools/run_tests.sh: detect gcc without multilib support
This commit is contained in:
parent
5f3afad793
commit
0c62e25464
@ -140,8 +140,9 @@ native_tests() {
|
|||||||
fi
|
fi
|
||||||
for compiler in ${compilers_to_try[@]}; do
|
for compiler in ${compilers_to_try[@]}; do
|
||||||
for cflags in "${cflags_to_try[@]}"; do
|
for cflags in "${cflags_to_try[@]}"; do
|
||||||
if [ "$compiler" = "/usr/bin/gcc-4.8" -a \
|
if [ "$cflags" = "-m32" ] && \
|
||||||
"$cflags" = "-m32" ]; then
|
$compiler -v |& grep -q -- '--disable-multilib'
|
||||||
|
then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
log "Running tests with CC=$compiler," \
|
log "Running tests with CC=$compiler," \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user