Skip to content

Commit

Permalink
pkgsMusl.libiscsi: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssais committed Aug 30, 2021
1 parent 9203210 commit 78d20f2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/development/libraries/libiscsi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ autoreconfHook ];

# This can be removed after >=1.20.0, or if the build suceeds with
# pie enabled (default on Musl).
hardeningDisable = [ "pie" ];

# This problem is gone on libiscsi master.
NIX_CFLAGS_COMPILE = if stdenv.hostPlatform.is32bit then "-Wno-error=sign-compare" else null;
NIX_CFLAGS_COMPILE =
lib.optional stdenv.hostPlatform.is32bit "-Wno-error=sign-compare";

meta = with lib; {
description = "iscsi client library and utilities";
Expand Down

0 comments on commit 78d20f2

Please sign in to comment.