tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
bandwidth: fix build on aarch64-darwin
Weijia Wang
3 years ago
4682bed7
3db0fa10
+2
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
bandwidth
default.nix
+2
pkgs/tools/misc/bandwidth/default.nix
···
17
17
sed -i 's,ar ,$(AR) ,g' OOC/Makefile
18
18
# Remove unnecessary -m32 for 32-bit targets
19
19
sed -i 's,-m32,,g' OOC/Makefile
20
20
+
# Replace arm64 with aarch64
21
21
+
sed -i 's#,arm64#,aarch64#g' Makefile
20
22
# Fix wrong comment character
21
23
sed -i 's,# 32,; 32,g' routines-x86-32bit.asm
22
24
# Fix missing symbol exports for macOS clang