treewide: Depend on stdenv.cc.bintools instead of binutils directly

One should do this when needed executables at build time. It is more
honest and cross-friendly than refering to binutils directly.
This commit is contained in:
John Ericson
2017-11-05 17:10:53 -05:00
parent 5ae8f18f4d
commit 70d91badf5
8 changed files with 19 additions and 12 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
makeFlags = [
"INSTALL=install"
"STRIP=strip"
"STRIP=${stdenv.cc.bintools.prefix}strip"
"prefix=$(out)"
];