zig/lib
Jakub Konka 5e945f813c build: do not emit -iwithsysroot/-iframeworkwithsysroot implicitly
Prior to this change, we would unconditionally emit any system include path/framework
path as `-iwithsysroot`/`-iframeworkwithsysroot` if the sysroot was
set which can lead to unexpected build failures. Now, calls to
`b.addSystemIncludePath` and `b.addFrameworkPath` will always emit
search paths as `-isystem`/`-iframework`. As a result, it is now up to
the user to correctly concat the search paths with the sysroot when
and where desired.

If there is a need for emitting `-iwithsysroot`/`-iframeworkwithsysroot`
I would advise adding explicit hooks such as `addSystemIncludePathWithSysroot`
and `addFrameworkPathWithSysroot`.
2023-08-18 08:00:40 +02:00
..
compiler_rt std: finish cleanup up asm 2023-07-31 03:49:21 -04:00
docs autodoc: new layout (#16715) 2023-08-06 18:12:05 +02:00
include
init-exe
init-lib
libc
libcxx
libcxxabi
libunwind
std build: do not emit -iwithsysroot/-iframeworkwithsysroot implicitly 2023-08-18 08:00:40 +02:00
tsan
build_runner.zig
c.zig std: finish cleanup up asm 2023-07-31 03:49:21 -04:00
compiler_rt.zig
ssp.zig
test_runner.zig
zig.h cbe: get behavior tests running on arm 2023-07-31 01:58:10 -04:00