mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03: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 New Issue
Block a user