forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathno-march-native.patch
More file actions
33 lines (33 loc) · 796 Bytes
/
no-march-native.patch
File metadata and controls
33 lines (33 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- a/src/bridges/bridge_argon2id_reference.mk
+++ b/src/bridges/bridge_argon2id_reference.mk
@@ -10,8 +10,6 @@ ifeq ($(UNAME),Darwin)
ifeq ($(IS_APPLE_SILICON),0)
ARGON2_REFERENCE_CFLAGS += -mavx2
endif
-else
-ARGON2_REFERENCE_CFLAGS += -march=native
endif
endif
endif
--- a/src/bridges/bridge_scrypt_jane.mk
+++ b/src/bridges/bridge_scrypt_jane.mk
@@ -10,8 +10,6 @@ ifeq ($(UNAME),Darwin)
ifeq ($(IS_APPLE_SILICON),0)
SCRYPT_JANE_CFLAGS += -mavx2
endif
-else
-SCRYPT_JANE_CFLAGS += -march=native
endif
endif
endif
--- a/src/bridges/bridge_scrypt_yescrypt.mk
+++ b/src/bridges/bridge_scrypt_yescrypt.mk
@@ -10,8 +10,6 @@ ifeq ($(UNAME),Darwin)
ifeq ($(IS_APPLE_SILICON),0)
SCRYPT_YESCRYPT_CFLAGS += -mavx2
endif
-else
-SCRYPT_YESCRYPT_CFLAGS += -march=native
endif
endif
endif