mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
Use -isystem instead of -I for system headers to avoid warnings when using -pedantic
svn path=/nixpkgs/trunk/; revision=30052
This commit is contained in:
parent
0892d42613
commit
d2006f51a0
|
@ -47,7 +47,7 @@ else
|
|||
# It's unclear if these will ever be provided by an LLVM project
|
||||
clangCFlags="$clangCFlags -B$basePath"
|
||||
|
||||
clangCFlags="$clangCFlags -I$clang/lib/clang/$clangVersion/include"
|
||||
clangCFlags="$clangCFlags -isystem$clang/lib/clang/$clangVersion/include"
|
||||
echo "$clangCFlags" > $out/nix-support/clang-cflags
|
||||
|
||||
clangPath="$clang/bin"
|
||||
|
|
Loading…
Reference in a new issue