Commit f9ca4a6
committed
CI: Detect LLVM toolchain properly
This commit resolves LLVM build failures. Root Cause:
- TOOLCHAIN_TYPE passed to main make but not to sub-make
- Line 64 in Makefile: $(MAKE) __link spawns sub-make
- Sub-make doesn't inherit TOOLCHAIN_TYPE, defaults to CC_IS_CLANG auto-detect
Fix:
- Check TOOLCHAIN_TYPE=llvm before auto-detection
- Export TOOLCHAIN_TYPE when set to 'llvm'
- Sub-makes now inherit toolchain selection1 parent fdd7587 commit f9ca4a6
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
| |||
0 commit comments