Commit 84d11d1
committed
fix(macos): gate static libc++ on an explicitly declared deployment floor
Semantics: declaring a minimum macOS (env var or [build]
macos_deployment_target) is what opts a build into the static LLVM
libc++ — that's the mechanism that makes the declared floor real. With
no declared floor the link stays on the dynamic system libc++ exactly
as in 0.0.49 (zero behavior change for existing users), which also
sidesteps a still-open SIGSEGV in mixed C/C++ static binaries
(e2e 36_llvm_toolchain; investigation tracked in the design doc).
Release pipelines declare 14.0, so the shipped mcpp/xlings binaries
remain static + portable.1 parent 8731c65 commit 84d11d1
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
377 | 386 | | |
378 | 387 | | |
379 | 388 | | |
| |||
0 commit comments