mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
clang-wrapper: Set $CXX to clang
This is useful for non-Autoconf-based packages, since GNU Make's default for CXX is "g++". (The CC default is "cc" so should work fine with Clang already.)
This commit is contained in:
parent
c07559b782
commit
6a8485af6b
@ -31,3 +31,6 @@ fi
|
||||
if test -n "@coreutils@"; then
|
||||
addToSearchPath PATH @coreutils@/bin
|
||||
fi
|
||||
|
||||
: ${CXX:=clang++}
|
||||
export CXX
|
||||
|
Loading…
Reference in New Issue
Block a user