Unverified Commit 1b82b205 authored by David McFarland's avatar David McFarland Committed by GitHub
Browse files

hello: fix cygwin build (#476321)

parents 425b1e55 39947544
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -25,6 +25,12 @@ stdenv.mkDerivation (finalAttrs: {
    NIX_LDFLAGS = "-liconv";
  };

  # lib/string.h:754:20: error: expected declaration specifiers or '...' before numeric constant
  # The embedded gnulib is currently broken on cygwin when fortify is enabled.
  # This can be removed when gnulib is updated with the fix:
  # https://gitweb.git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff_plain;h=c44fe03b72687c9e913727724c29bdb49c1f86e3
  hardeningDisable = lib.optional stdenv.hostPlatform.isCygwin "fortify";

  doCheck = true;

  doInstallCheck = true;