From 23b11c08bb5b810aa934d26e5f0596ff099d5389 Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Thu, 18 Jan 2018 16:35:24 -0500 Subject: Pass -mbmi2 to gcc This will hopefully fix the issue where travis gcc complains about not being able to inline mulx. I hope. --- third_party/curve25519-donna-c64/compiler.sh | 2 +- third_party/openssl-curve25519/compiler.sh | 2 +- third_party/openssl-nistp256c64/compiler.sh | 2 +- third_party/openssl-nistz256-adx/compiler.sh | 2 +- third_party/openssl-nistz256-amd64/compiler.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'third_party') 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 $@ -- cgit v1.2.3