aboutsummaryrefslogtreecommitdiff
path: root/third_party/openssl-nistz256/compiler.sh
diff options
context:
space:
mode:
authorGravatar Andres Erbsen <andreser@mit.edu>2017-06-23 13:36:36 -0400
committerGravatar Andres Erbsen <andreser@mit.edu>2017-06-23 13:36:36 -0400
commit847415f71ea61443de20a6a2082d9a03f1057077 (patch)
tree8969d4e7207225ad2d3a7a7c1c21d0204fdc1729 /third_party/openssl-nistz256/compiler.sh
parentfe5b5b3bb0fc8836d11677025107198ddd6cdf53 (diff)
add openssl nistz256 for benchmarking
Diffstat (limited to 'third_party/openssl-nistz256/compiler.sh')
-rwxr-xr-xthird_party/openssl-nistz256/compiler.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/openssl-nistz256/compiler.sh b/third_party/openssl-nistz256/compiler.sh
new file mode 100755
index 000000000..4a9f2ce77
--- /dev/null
+++ b/third_party/openssl-nistz256/compiler.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -eu
+
+gcc -march=native -mtune=native -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes $@