aboutsummaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rwxr-xr-xthird_party/curve25519-donna-c64/compiler.sh2
-rwxr-xr-xthird_party/openssl-curve25519/compiler.sh2
-rwxr-xr-xthird_party/openssl-nistp256c64/compiler.sh2
-rwxr-xr-xthird_party/openssl-nistz256-adx/compiler.sh2
-rwxr-xr-xthird_party/openssl-nistz256-amd64/compiler.sh2
5 files changed, 5 insertions, 5 deletions
diff --git a/third_party/curve25519-donna-c64/compiler.sh b/third_party/curve25519-donna-c64/compiler.sh
index 29885a152..241111aaf 100755
--- a/third_party/curve25519-donna-c64/compiler.sh
+++ b/third_party/curve25519-donna-c64/compiler.sh
@@ -1,4 +1,4 @@
#!/bin/sh
set -eu
-gcc -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -lcrypto $@
+gcc -march=native -mbmi2 -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -lcrypto $@
diff --git a/third_party/openssl-curve25519/compiler.sh b/third_party/openssl-curve25519/compiler.sh
index 29885a152..241111aaf 100755
--- a/third_party/openssl-curve25519/compiler.sh
+++ b/third_party/openssl-curve25519/compiler.sh
@@ -1,4 +1,4 @@
#!/bin/sh
set -eu
-gcc -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -lcrypto $@
+gcc -march=native -mbmi2 -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -lcrypto $@
diff --git a/third_party/openssl-nistp256c64/compiler.sh b/third_party/openssl-nistp256c64/compiler.sh
index e64df574a..e199b5100 100755
--- a/third_party/openssl-nistp256c64/compiler.sh
+++ b/third_party/openssl-nistp256c64/compiler.sh
@@ -1,4 +1,4 @@
#!/bin/sh
set -eu
-gcc -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes $@
+gcc -march=native -mbmi2 -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes $@
diff --git a/third_party/openssl-nistz256-adx/compiler.sh b/third_party/openssl-nistz256-adx/compiler.sh
index e64df574a..e199b5100 100755
--- a/third_party/openssl-nistz256-adx/compiler.sh
+++ b/third_party/openssl-nistz256-adx/compiler.sh
@@ -1,4 +1,4 @@
#!/bin/sh
set -eu
-gcc -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes $@
+gcc -march=native -mbmi2 -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes $@
diff --git a/third_party/openssl-nistz256-amd64/compiler.sh b/third_party/openssl-nistz256-amd64/compiler.sh
index e64df574a..e199b5100 100755
--- a/third_party/openssl-nistz256-amd64/compiler.sh
+++ b/third_party/openssl-nistz256-amd64/compiler.sh
@@ -1,4 +1,4 @@
#!/bin/sh
set -eu
-gcc -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes $@
+gcc -march=native -mbmi2 -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes $@