mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
newt: unset CPP
Commit 093cc00cdd
sets the CPP environment
variable by default, confusing the newt Makefile, which expects CPP=gcc for
computing dependencies.
This commit is contained in:
parent
c25199f697
commit
4a0a066f67
@ -16,6 +16,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
NIX_LDFLAGS = "-lncurses";
|
||||
|
||||
preConfigure = ''
|
||||
# If CPP is set explicitly, configure and make will not agree about which
|
||||
# programs to use at different stages.
|
||||
unset CPP
|
||||
'';
|
||||
|
||||
crossAttrs = {
|
||||
makeFlags = "CROSS_COMPILE=${stdenv.cc.prefix}";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user