Commit 2e57541
Preserve section GC in split mode
Linked targets inherit section compile and link flags from the static nanobind library. Split targets skip that library and lose the flags.
Apply the same options directly to split targets.
Assisted-by: Codex1 parent 9632a38 commit 2e57541
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
576 | 581 | | |
577 | 582 | | |
578 | 583 | | |
| |||
0 commit comments