Merge pull request #245513 from lsix/gdb-disable-sim
gdb: disable sim by default
This commit is contained in:
commit
2a74588aaf
1 changed files with 3 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
|||
, enableDebuginfod ? lib.meta.availableOn stdenv.hostPlatform elfutils, elfutils
|
||||
, guile ? null
|
||||
, hostCpuOnly ? false
|
||||
, enableSim ? false
|
||||
, safePaths ? [
|
||||
# $debugdir:$datadir/auto-load are whitelisted by default by GDB
|
||||
"$debugdir" "$datadir/auto-load"
|
||||
|
@ -113,7 +114,8 @@ stdenv.mkDerivation rec {
|
|||
] ++ lib.optional (!pythonSupport) "--without-python"
|
||||
++ lib.optional stdenv.hostPlatform.isMusl "--disable-nls"
|
||||
++ lib.optional stdenv.hostPlatform.isStatic "--disable-inprocess-agent"
|
||||
++ lib.optional enableDebuginfod "--with-debuginfod=yes";
|
||||
++ lib.optional enableDebuginfod "--with-debuginfod=yes"
|
||||
++ lib.optional (!enableSim) "--disable-sim";
|
||||
|
||||
postInstall =
|
||||
'' # Remove Info files already provided by Binutils and other packages.
|
||||
|
|
Loading…
Reference in a new issue