rpm-ostree: remove -lgcc from NIX_LDFLAGS

This commit is contained in:
Weijia Wang 2023-03-04 00:27:43 +02:00
parent e545c0f05f
commit 791eaf7816
2 changed files with 0 additions and 5 deletions

View File

@ -114,9 +114,6 @@ stdenv.mkDerivation rec {
env NOCONFIGURE=1 ./autogen.sh
'';
# https://github.com/NixOS/nixpkgs/issues/201254
NIX_LDFLAGS = lib.optionalString (stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU) "-lgcc";
meta = with lib; {
description = "A hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model";
homepage = "https://coreos.github.io/rpm-ostree/";

View File

@ -11708,8 +11708,6 @@ with pkgs;
rpm-ostree = callPackage ../tools/misc/rpm-ostree {
gperf = gperf_3_0;
# https://github.com/NixOS/nixpkgs/issues/201254
stdenv = if stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU then gcc12Stdenv else stdenv;
};
rpm2targz = callPackage ../tools/archivers/rpm2targz { };