cling: fix libc include path for non-glibc
This commit is contained in:
parent
e49c1a0027
commit
9521efa607
@ -73,7 +73,7 @@ let
|
|||||||
flags = [
|
flags = [
|
||||||
"-nostdinc"
|
"-nostdinc"
|
||||||
"-nostdinc++"
|
"-nostdinc++"
|
||||||
"-isystem" "${glibc.dev}/include"
|
"-isystem" "${stdenv.lib.getDev stdenv.cc.libc}/include"
|
||||||
"-I" "${unwrapped}/include"
|
"-I" "${unwrapped}/include"
|
||||||
"-I" "${unwrapped}/lib/clang/5.0.2/include"
|
"-I" "${unwrapped}/lib/clang/5.0.2/include"
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user