aboutsummaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2018-01-18 16:35:24 -0500
committerGravatar Andres Erbsen <andreser@mit.edu>2018-01-19 06:53:09 -0500
commit23b11c08bb5b810aa934d26e5f0596ff099d5389 (patch)
tree04bd76294bd0c8601162322ebf4c16d608e0e1b0 /third_party
parent6bca5fb40730ec4aaec585597473345b05028fcc (diff)
Pass -mbmi2 to gcc
This will hopefully fix the issue where travis gcc complains about not being able to inline mulx. I hope.
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 $@