Unverified Commit 95452496 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

alsa-firmware: fix riscv64-linux build (#348889)

parents d0864b0c 9d12f6d9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -29,7 +29,9 @@ stdenv.mkDerivation rec {
  configureFlags = [ "--with-hotplug-dir=$(out)/lib/firmware" ];

  depsBuildBuild = lib.optional (
    stdenv.buildPlatform != stdenv.hostPlatform || stdenv.hostPlatform.isAarch64
    stdenv.buildPlatform != stdenv.hostPlatform
    || stdenv.hostPlatform.isAarch64
    || stdenv.hostPlatform.isRiscV64
  ) buildPackages.stdenv.cc;

  dontStrip = true;