gdb: fix loongarch64-linux build

This commit is contained in:
Weijia Wang
2026-01-21 12:15:57 +01:00
parent 63482836e4
commit ff5730299d
+3 -1
View File
@@ -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 (