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:
László Vaskó 2022-01-20 16:23:32 +01:00
parent 3f76d236af
commit 076314a174

View File

@ -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;