mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-03-27 19:33:08 +00:00
pass march native for apple intel
This commit is contained in:
parent
29b00f1ced
commit
6d3ca264bb
@ -51,6 +51,9 @@ if defined(disableMarchNative):
|
||||
else:
|
||||
switch("passC", "-mssse3")
|
||||
switch("passL", "-mssse3")
|
||||
elif defined(macosx) and defined(amd64):
|
||||
switch("passC", "-march=native")
|
||||
switch("passL", "-march=native")
|
||||
elif defined(macosx) and defined(arm64):
|
||||
# Apple's Clang can't handle "-march=native" on M1: https://github.com/status-im/nimbus-eth2/issues/2758
|
||||
switch("passC", "-mcpu=apple-m1")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user