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 and pull[bot] committed Sep 20, 2023
1 parent b88a5d5 commit 202e397
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 202e397

Please sign in to comment.