Commit d547fa17 authored by Alexandre Esteves's avatar Alexandre Esteves
Browse files

libiconv: fix android cross-compile

parent ec1f3c73
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@

# assert !stdenv.hostPlatform.isLinux || stdenv.hostPlatform != stdenv.buildPlatform; # TODO: improve on cross

stdenv.mkDerivation rec {
stdenv.mkDerivation (rec {
  pname = "libiconv";
  version = "1.17";

@@ -87,4 +87,7 @@ stdenv.mkDerivation rec {
    # This library is not needed on GNU platforms.
    hydraPlatforms = with lib.platforms; cygwin ++ darwin ++ freebsd;
  };
}
} // lib.optionalAttrs (stdenv.hostPlatform.libc == "bionic") {
  # https://github.com/NixOS/nixpkgs/pull/192630#discussion_r978985593
  hardeningDisable = [ "fortify" ];
})