mirror of
https://github.com/gopher64/gopher64.git
synced 2026-11-15 10:29:38 +01:00
Add linker argument for aarch64 macOS target
This commit is contained in:
1 parent
620014078a
commit
b4841a5252
1 file changed
+4
-1
+4
-1
@@ -11,7 +11,10 @@ rustflags = ["-C", "link-arg=/STACK:8388608"]
|
||||
rustflags = ["-C", "target-cpu=x86-64-v3"]
|
||||
|
||||
[target.'cfg(all(target_arch = "aarch64", target_os = "macos"))']
|
||||
rustflags = ["-C", "target-cpu=apple-m1"]
|
||||
rustflags = [
|
||||
"-C", "target-cpu=apple-m1",
|
||||
"-C", "link-arg=-Wl,-headerpad_max_install_names"
|
||||
]
|
||||
|
||||
[target.'cfg(all(target_arch = "aarch64", not(target_os = "macos")))']
|
||||
rustflags = ["-C", "target-cpu=cortex-a76"]
|
||||
|
||||
Reference in new issue
Block a user