mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
Merge pull request #199274 from wegank/bandwidth-aarch64-darwin
bandwidth: fix build on aarch64-darwin
This commit is contained in:
commit
c6a1d6eece
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user