forked from mirrors/nixpkgs
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 a new issue