Commit abd6eff
authored
Fix Apple frameworks alway building both modes (#12510)
### Summary
We currently always build both versions since the flags (--Release,
--Debug) append instead of override.
### Test plan
```
$ ./scripts/build_apple_frameworks.sh
→ MODES=("Release" "Debug")
$ ./scripts/build_apple_frameworks.sh --Release
→ MODES=("Release")
$ ./scripts/build_apple_frameworks.sh --Debug
→ MODES=("Debug")
$ ./scripts/build_apple_frameworks.sh --Release --Debug
→ MODES=("Release" "Debug")
```
cc @larryliu08201 parent 953fa0e commit abd6eff
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
140 | 145 | | |
141 | 146 | | |
142 | 147 | | |
| |||
0 commit comments