aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/solinas32_2e137m13/compilerxx.sh
diff options
context:
space:
mode:
authorGravatar Andres Erbsen <andreser@google.com>2017-11-03 17:54:49 +0000
committerGravatar Andres Erbsen <andreser@google.com>2017-11-03 17:54:49 +0000
commit15397e033808b35120809b6f07107ac9989d8e8a (patch)
treea9ca90eb591f08a5cfe8e1e84615690d3088a250 /src/Specific/solinas32_2e137m13/compilerxx.sh
parent8f7fc2d2a913a75e0339da5ab7b2215457473c14 (diff)
use clang
Diffstat (limited to 'src/Specific/solinas32_2e137m13/compilerxx.sh')
-rwxr-xr-xsrc/Specific/solinas32_2e137m13/compilerxx.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Specific/solinas32_2e137m13/compilerxx.sh b/src/Specific/solinas32_2e137m13/compilerxx.sh
index 6ffbe90c2..4f0774283 100755
--- a/src/Specific/solinas32_2e137m13/compilerxx.sh
+++ b/src/Specific/solinas32_2e137m13/compilerxx.sh
@@ -1,4 +1,4 @@
#!/bin/sh
set -eu
-g++ -march=native -mtune=native -std=gnu++11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Da24_hex='0x3039' -Da24_val='12345' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dbitwidth='32' -Dlimb_weight_gaps_array='{18,17,17,17,17,17,17,17}' -Dmodulus_array='{0x01,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf3}' -Dmodulus_bytes_val='18' -Dmodulus_limbs='8' -Dq_mpz='(1_mpz<<137) - 13' "$@"
+clang++ -march=native -mtune=native -std=gnu++11 -O3 -flto -fuse-ld=lld -fomit-frame-pointer -fwrapv -Wno-attributes -fno-strict-aliasing -Da24_hex='0x3039' -Da24_val='12345' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dbitwidth='32' -Dlimb_weight_gaps_array='{18,17,17,17,17,17,17,17}' -Dmodulus_array='{0x01,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf3}' -Dmodulus_bytes_val='18' -Dmodulus_limbs='8' -Dq_mpz='(1_mpz<<137) - 13' "$@"