Commit 646d6d2
authored
Get triple from the make variable CC_TARGET_TRIPLE (#1558)
Allow overriding the target triple used by the Xcode Swift toolchain
through the CC_TARGET_TRIPLE environment variable. As
cc_toolchain.target_gnu_system_name is getting deprecated, and as rules
based toolchain currently don't offer the option to set it anymore, this
offers a way by which someone can define a rules based toolchain and
still have working swift rules.1 parent ccebe4d commit 646d6d2
File tree
2 files changed
+2
-2
lines changed- swift/toolchains
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
| 419 | + | |
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
630 | | - | |
| 630 | + | |
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| |||
0 commit comments