Commit 62187418 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

QEMU install: minor fixes for Mac

- audio driver fails to compile at least on Big Sur with gcc-10; disabling everywhere (unused)
- typo when checking for gcc being actually clang

--HG--
branch : qemu
parent adfae40c7000
......@@ -3,7 +3,7 @@
SYSTEM=`uname`
echo "Setting up QEMU on $SYSTEM..."
OPTIONS="--target-list=arm-softmmu --disable-docs --enable-vnc"
OPTIONS="--target-list=arm-softmmu --disable-docs --enable-vnc --audio-drv-list="
if python2 -V; then
OPTIONS="$OPTIONS --python=python2"
......@@ -42,7 +42,7 @@ if [[ $CC == gcc* ]]; then
GCC_MAJOR=${GCC_VERSION%%.*}
GPP_MAJOR=${GPP_VERSION%%.*}
if gcc -v 2>&1 | grep -q clang; then
if $CC -v 2>&1 | grep -q clang; then
echo "This version of gcc is actually clang..."
# no known warnings on current systems
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment