Skip to content

Commit

Permalink
iosbuild.sh: fix compilation w/Xcode 16
Browse files Browse the repository at this point in the history
fixes:
ld: warning: -bitcode_bundle is no longer supported and will be ignored
ld: -mllvm and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot
    be used together

Change-Id: Ifda932e6abdbadf536ba6757597a1648f75e8f0d
  • Loading branch information
jzern committed Nov 20, 2024
1 parent 6266e19 commit 6f0c446
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/make/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,8 @@ EOF
;;
esac

if [ "$(show_darwin_sdk_major_version iphoneos)" -gt 8 ]; then
if [ "$(show_darwin_sdk_major_version iphoneos)" -gt 8 \
&& [ "$(show_xcode_version)" -lt 16 ]; then
check_add_cflags -fembed-bitcode
check_add_asflags -fembed-bitcode
check_add_ldflags -fembed-bitcode
Expand Down

0 comments on commit 6f0c446

Please sign in to comment.