diff options
author | Artturin <Artturin@artturin.com> | 2023-09-12 01:34:57 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-09-12 01:34:57 +0300 |
commit | e270be8f44a36a24be946107479c8b2f1bfcc082 (patch) | |
tree | fb7d4e30fc81084e7d374d14d337806903d619f6 /pkgs/os-specific/linux/iproute | |
parent | d94c20a495e9fb889af04977ef8f503076c74189 (diff) | |
download | nixpkgs-e270be8f44a36a24be946107479c8b2f1bfcc082.tar nixpkgs-e270be8f44a36a24be946107479c8b2f1bfcc082.tar.gz nixpkgs-e270be8f44a36a24be946107479c8b2f1bfcc082.tar.bz2 nixpkgs-e270be8f44a36a24be946107479c8b2f1bfcc082.tar.lz nixpkgs-e270be8f44a36a24be946107479c8b2f1bfcc082.tar.xz nixpkgs-e270be8f44a36a24be946107479c8b2f1bfcc082.tar.zst nixpkgs-e270be8f44a36a24be946107479c8b2f1bfcc082.zip |
iproute2: fix cross regression from 620f9f11f83de7fa68b346ff80adfc9914c50ce6
Diffstat (limited to 'pkgs/os-specific/linux/iproute')
-rw-r--r-- | pkgs/os-specific/linux/iproute/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/iproute/default.nix b/pkgs/os-specific/linux/iproute/default.nix index 60133dfd3dc..64749e209ba 100644 --- a/pkgs/os-specific/linux/iproute/default.nix +++ b/pkgs/os-specific/linux/iproute/default.nix @@ -46,6 +46,8 @@ stdenv.mkDerivation rec { "SHARED_LIBS=n" # all build .so plugins: "TC_CONFIG_NO_XT=y" + ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ + "HOSTCC=$(CC_FOR_BUILD)" ]; buildFlags = [ |