forked from mirrors/nixpkgs
clang-wrapper: Sync with gcc-wrapper
This commit is contained in:
parent
3b20a10ae9
commit
f4af2a8737
|
@ -1,6 +1,6 @@
|
|||
addCVars () {
|
||||
if test -d $1/include; then
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$1/include"
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem $1/include"
|
||||
fi
|
||||
|
||||
if test -d $1/lib64; then
|
||||
|
|
Loading…
Reference in a new issue