Allow xqemu to be built on macOS Ventura.

When trying to build xqemu, the script fails with this: "ERROR: "cc" either does not exist or does not work". The issue in this case is the '-march=native' flag. Clang will complain that it is an unknown argument.
This commit is contained in:
Stefanos Stefanidis 2023-02-08 18:25:46 +02:00 committed by GitHub
parent e1236e1b62
commit 82faa7dcc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -47,7 +47,6 @@ case "$(uname -s)" in # adjust compilation option based on platform
;;
Darwin)
echo 'Compiling for MacOS…'
sys_cflags='-march=native'
sys_opts='--disable-cocoa'
# necessary to find libffi, which is required by gobject
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}/usr/local/opt/libffi/lib/pkgconfig"