libiscsi: work around i686-linux build problems

This commit is contained in:
Vladimír Čunát 2021-01-21 10:32:37 +01:00
parent f217c0ea7c
commit 88e9df7b8d
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook ];
# This problem is gone on libiscsi master.
NIX_CFLAGS_COMPILE = if stdenv.hostPlatform.is32bit then "-Wno-error=sign-compare" else null;
meta = with stdenv.lib; {
description = "iscsi client library and utilities";
homepage = "https://github.com/sahlberg/libiscsi";