gdb: let configure auto-detect in-process agent support (#504872)
This commit is contained in:
@@ -193,10 +193,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(withFeatureAs true "auto-load-safe-path" (builtins.concatStringsSep ":" safePaths))
|
||||
(withFeature enableDebuginfod "debuginfod")
|
||||
(enableFeature (!stdenv.hostPlatform.isMusl) "nls")
|
||||
(enableFeature (
|
||||
!stdenv.hostPlatform.isStatic && !stdenv.hostPlatform.isLoongArch64
|
||||
) "inprocess-agent")
|
||||
]
|
||||
++ optional stdenv.hostPlatform.isStatic "--disable-inprocess-agent"
|
||||
++ optional (!hostCpuOnly) "--enable-targets=all"
|
||||
# Workaround for Apple Silicon, "--target" must be "faked", see eg: https://github.com/Homebrew/homebrew-core/pull/209753
|
||||
++ optional (
|
||||
|
||||
Reference in New Issue
Block a user