Fix compilation of GCC 4.9 on SmartOS.

Fix ld-solaris-wrapper never calling ld (since gcc->cc-wrapper refactor).
This commit is contained in:
Danny Wilson
2015-11-16 17:20:16 +01:00
parent bab0a82983
commit f17dea3b3d
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ stdenv.mkDerivation {
+ optionalString (stdenv.isSunOS && nativePrefix != "") ''
# Solaris needs an additional ld wrapper.
ldPath="${nativePrefix}/bin"
ld="$out/bin/ld-solaris"
exec="$ldPath/ld"
wrap ld-solaris ${./ld-solaris-wrapper.sh}
'')