Commit 61d25c6
committed
build.zig: check
Stage1 doesn't need -Dconfig_h to be specified since it'll find it
in the same directory as the executable but since stage2 binary is
in `zig-out/bin/zig` it'll not find `config.h` and silently default
to static LLVM and fail with a linker error.
Also looking for `build/config.h` makes building stage3 work with
the same command as building stage2.build/config.h for cmake config1 parent 821c374 commit 61d25c6
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
674 | 681 | | |
675 | 682 | | |
676 | 683 | | |
| |||
0 commit comments