mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
Merge pull request #26012 from Ericson2314/gdb-fix
gdb: s/target/tagetPlatform
This commit is contained in:
commit
8a423c3a90
|
@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
|
|||
"--with-separate-debug-dir=/run/current-system/sw/lib/debug"
|
||||
++ stdenv.lib.optional (!pythonSupport) "--without-python"
|
||||
# TODO(@Ericson2314): This should be done in stdenv, not per-package
|
||||
++ stdenv.lib.optional (targetPlatform != hostPlatform) "--target=${target.config}"
|
||||
++ stdenv.lib.optional (targetPlatform != hostPlatform) "--target=${targetPlatform.config}"
|
||||
++ stdenv.lib.optional multitarget "--enable-targets=all";
|
||||
|
||||
postInstall =
|
||||
|
|
Loading…
Reference in a new issue