mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
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:
parent
c9b84bea76
commit
e2464bbe59
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue