Skip to content

Commit

Permalink
Fix some building issues with src/darwin/Framework (#24922)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple authored Feb 9, 2023
1 parent a699913 commit cc0f0d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/darwin/Framework/chip_xcode_build_connector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ for arch in "${archs[@]}"; do
done

[[ $ENABLE_BITCODE == YES ]] && {
target_cflags+=',"-flto"'
if [ -n "$target_cflags" ]; then
target_cflags+=','
fi
target_cflags+='"-flto"'
}

declare -a args=(
Expand Down

0 comments on commit cc0f0d8

Please sign in to comment.