Commit f8a0ecf
[compiler-rt] Avoid depending on the libnvmm header for NetBSD (llvm#153534)
Use the system headers instead since we don't actually need anything
from libnvmm; we only care about ioctls and related structures.
This makes it possible to cross-compile TSan for NetBSD with `zig cc`
which does not provide libnvmm when cross-compiling.
I also removed a `term.h` include (ncurses) which appeared to be
unnecessary and likewise prevented cross-compilation with `zig cc` from
working.
(cherry picked from commit 9ec771b)1 parent 113916c commit f8a0ecf
File tree
1 file changed
+1
-2
lines changed- compiler-rt/lib/sanitizer_common
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
501 | | - | |
502 | 501 | | |
503 | 502 | | |
504 | 503 | | |
| |||
515 | 514 | | |
516 | 515 | | |
517 | 516 | | |
518 | | - | |
| 517 | + | |
519 | 518 | | |
520 | 519 | | |
521 | 520 | | |
| |||
0 commit comments