summary refs log tree commit diff
path: root/pkgs/build-support/gcc-cross-wrapper/builder.sh
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-11-19 21:43:03 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-11-19 21:43:03 +0000
commit4dfc635cbba44353b5cd3033a2b6a63610b1d040 (patch)
tree0022fc44bc9bf89904e5bcdde278fa64bb206fd6 /pkgs/build-support/gcc-cross-wrapper/builder.sh
parente85500987b7df503b37a127a5ea49a07f92e70f0 (diff)
downloadnixpkgs-4dfc635cbba44353b5cd3033a2b6a63610b1d040.tar
nixpkgs-4dfc635cbba44353b5cd3033a2b6a63610b1d040.tar.gz
nixpkgs-4dfc635cbba44353b5cd3033a2b6a63610b1d040.tar.bz2
nixpkgs-4dfc635cbba44353b5cd3033a2b6a63610b1d040.tar.lz
nixpkgs-4dfc635cbba44353b5cd3033a2b6a63610b1d040.tar.xz
nixpkgs-4dfc635cbba44353b5cd3033a2b6a63610b1d040.tar.zst
nixpkgs-4dfc635cbba44353b5cd3033a2b6a63610b1d040.zip
Fixing the uboot cross-build.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18473
Diffstat (limited to 'pkgs/build-support/gcc-cross-wrapper/builder.sh')
-rw-r--r--pkgs/build-support/gcc-cross-wrapper/builder.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/gcc-cross-wrapper/builder.sh b/pkgs/build-support/gcc-cross-wrapper/builder.sh
index ae5e92e5de6..2299574e85a 100644
--- a/pkgs/build-support/gcc-cross-wrapper/builder.sh
+++ b/pkgs/build-support/gcc-cross-wrapper/builder.sh
@@ -40,7 +40,7 @@ doSubstitute() {
         --subst-var "cflagsLink" \
         --subst-var "ldflags" \
         --subst-var "ldflagsBefore" \
-        --subst-var-by "ld" "$ldPath/ld"
+        --subst-var-by "ld" "$ldPath/$crossConfig-ld"
 }