Unverified Commit a0e0674e authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

[staging-next] gdb: fix loongarch64-linux build (#482248)

parents 4c3d08a0 ff573029
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -184,7 +184,9 @@ stdenv.mkDerivation (finalAttrs: {
  ]
  ++ optional (!hostCpuOnly) "--enable-targets=all"
  ++ [
    (enableFeature (!stdenv.hostPlatform.isStatic) "inprocess-agent")
    (enableFeature (
      !stdenv.hostPlatform.isStatic && !stdenv.hostPlatform.isLoongArch64
    ) "inprocess-agent")
  ]
  # Workaround for Apple Silicon, "--target" must be "faked", see eg: https://github.com/Homebrew/homebrew-core/pull/209753
  ++ optional (