foot: remove usage of stdenv.cc.cc.pname

This commit is contained in:
sternenseemann 2021-03-28 13:14:57 +02:00 committed by sterni
parent 68a1f6f391
commit 6c1566fab7

View File

@ -136,7 +136,7 @@ stdenv.mkDerivation rec {
# generate pgo data of wayland independent code
./pgo ${stimuliFile} ${stimuliFile} ${stimuliFile}
meson configure -Db_pgo=use
'' + lib.optionalString (doPgo && stdenv.cc.cc.pname == "clang") ''
'' + lib.optionalString (doPgo && compilerName == "clang") ''
llvm-profdata merge default_*profraw --output=default.profdata
'';