Merge pull request #26012 from Ericson2314/gdb-fix

gdb: s/target/tagetPlatform
This commit is contained in:
John Ericson 2017-05-23 01:36:09 -04:00 committed by GitHub
commit 8a423c3a90

View file

@ -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 =