about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRyan Burns <52847440+r-burns@users.noreply.github.com>2022-11-03 00:09:49 -0700
committerGitHub <noreply@github.com>2022-11-03 00:09:49 -0700
commitc6a1d6eecefbbea28bcd460d1a5811e3dc4a39d1 (patch)
tree7624e64006e493a12c1ea20543fbef7144e301cd /pkgs
parent60974988b3e1e5d61341a5ef0357e7ae99fcf7f1 (diff)
parent4682bed77694401679b35c857ab22a6770d5d641 (diff)
Merge pull request #199274 from wegank/bandwidth-aarch64-darwin
bandwidth: fix build on aarch64-darwin
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/misc/bandwidth/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/misc/bandwidth/default.nix b/pkgs/tools/misc/bandwidth/default.nix
index af728e9749af9..ea96b79fa34a6 100644
--- a/pkgs/tools/misc/bandwidth/default.nix
+++ b/pkgs/tools/misc/bandwidth/default.nix
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
     sed -i 's,ar ,$(AR) ,g' OOC/Makefile
     # Remove unnecessary -m32 for 32-bit targets
     sed -i 's,-m32,,g' OOC/Makefile
+    # Replace arm64 with aarch64
+    sed -i 's#,arm64#,aarch64#g' Makefile
     # Fix wrong comment character
     sed -i 's,# 32,; 32,g' routines-x86-32bit.asm
     # Fix missing symbol exports for macOS clang