treewide: add targetPrefix to hardcoded references to CC=cc
This commit is contained in:
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
|
||||
"USE_GETADDRINFO=1"
|
||||
] ++ lib.optionals withPrometheusExporter [
|
||||
"EXTRA_OBJS=contrib/prometheus-exporter/service-prometheus.o"
|
||||
] ++ lib.optional stdenv.isDarwin "CC=cc";
|
||||
] ++ lib.optional stdenv.isDarwin "CC=${stdenv.cc.targetPrefix}cc";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user