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 Feb 13, 2024
1 parent 8e19670 commit 1608796
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 1608796

Please sign in to comment.