libfaketime: use CFLAGS instead of NIX_CFLAGS_COMPILE
pkgsLLVM.libfaketime wouldn't link both before or after this change, but pkgsCross.loongarch64-linux.libfaketime would and gave the same output after `nix store make-content-addressed` before and after this change.
This commit is contained in:
@@ -55,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
env = {
|
||||
PREFIX = placeholder "out";
|
||||
LIBDIRNAME = "/lib";
|
||||
NIX_CFLAGS_COMPILE = toString (
|
||||
CFLAGS = toString (
|
||||
lib.optionals stdenv.cc.isClang [
|
||||
"-Wno-error=cast-function-type"
|
||||
"-Wno-error=format-truncation"
|
||||
|
||||
Reference in New Issue
Block a user