Commit e0f81da
committed
Only set clang linker if it exists
It we're not building clang, the swift driver silently dies and fails to
build. While it shouldn't do that, we should also only tell it to use a
clang that exists. If we're not building clang or the "native" clang
doesn't exist, leave the environment variable unset and let the driver
choose something.1 parent 3ae93a9 commit e0f81da
1 file changed
+15
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1653 | 1653 | | |
1654 | 1654 | | |
1655 | 1655 | | |
1656 | | - | |
1657 | | - | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
1658 | 1661 | | |
1659 | 1662 | | |
1660 | 1663 | | |
| |||
2722 | 2725 | | |
2723 | 2726 | | |
2724 | 2727 | | |
2725 | | - | |
2726 | | - | |
| 2728 | + | |
| 2729 | + | |
| 2730 | + | |
| 2731 | + | |
| 2732 | + | |
2727 | 2733 | | |
2728 | 2734 | | |
2729 | 2735 | | |
| |||
3082 | 3088 | | |
3083 | 3089 | | |
3084 | 3090 | | |
3085 | | - | |
3086 | | - | |
| 3091 | + | |
| 3092 | + | |
| 3093 | + | |
| 3094 | + | |
| 3095 | + | |
3087 | 3096 | | |
3088 | 3097 | | |
3089 | 3098 | | |
| |||
0 commit comments