Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to enable user (NAT) network backend #5

Merged
merged 3 commits into from
May 31, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
build: Specify -headerpad_max_install_names for macOS builds
  • Loading branch information
mborgerson committed May 31, 2020
commit 153613602ec1cf0cf3215d32045311f3a1dfdf53
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ postbuild=''
debug_opts=''
build_cflags='-O3'
job_count='12'
sys_ldflags=''

while [ ! -z "${1}" ]
do
Expand Down Expand Up @@ -120,6 +121,7 @@ case "$(uname -s)" in # Adjust compilation options based on platform
Darwin)
echo 'Compiling for MacOS...'
sys_cflags='-march=ivybridge'
sys_ldflags='-headerpad_max_install_names'
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"
Expand Down Expand Up @@ -153,6 +155,7 @@ set -x # Print commands from now on

"${configure}" \
--extra-cflags="-DXBOX=1 ${build_cflags} ${sys_cflags} ${CFLAGS}" \
--extra-ldflags="${sys_ldflags}" \
${debug_opts} \
${sys_opts} \
--target-list=i386-softmmu \
Expand Down