mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
lzip: simplify configureFlags
It is not an issue if $CXX variable is always set to an absolute value, there is no need to set it conditionally.
This commit is contained in:
parent
3f76d236af
commit
076314a174
@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
|
||||
"CPPFLAGS=-DNDEBUG"
|
||||
"CFLAGS=-O3"
|
||||
"CXXFLAGS=-O3"
|
||||
] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
|
||||
"CXX=${stdenv.cc.targetPrefix}c++";
|
||||
"CXX=${stdenv.cc.targetPrefix}c++"
|
||||
];
|
||||
|
||||
setupHook = ./lzip-setup-hook.sh;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user