net-tools: Enable cross-compilation
This commit is contained in:
@@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
"CC=${stdenv.cc.targetPrefix}cc"
|
||||||
|
"AR=${stdenv.cc.targetPrefix}ar"
|
||||||
"BASEDIR=$(out)"
|
"BASEDIR=$(out)"
|
||||||
"mandir=/share/man"
|
"mandir=/share/man"
|
||||||
"HAVE_ARP_TOOLS=1"
|
"HAVE_ARP_TOOLS=1"
|
||||||
|
|||||||
Reference in New Issue
Block a user