aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/montgomery64_2e152m17/compiler.sh
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-11-02 03:11:38 -0400
committerGravatar Jason Gross <jgross@mit.edu>2017-11-02 03:11:38 -0400
commitc17d449d001239930418c04160ddb168239295ea (patch)
tree83ed43994584c4c3ab856d902ad19167bcef6a44 /src/Specific/montgomery64_2e152m17/compiler.sh
parent498a7dab48c80497a9173d7c94e9e4dde75b73d8 (diff)
Add -D compiler arguments for gmpxx.cpp
Diffstat (limited to 'src/Specific/montgomery64_2e152m17/compiler.sh')
-rwxr-xr-xsrc/Specific/montgomery64_2e152m17/compiler.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Specific/montgomery64_2e152m17/compiler.sh b/src/Specific/montgomery64_2e152m17/compiler.sh
index 518f95765..85105bac0 100755
--- a/src/Specific/montgomery64_2e152m17/compiler.sh
+++ b/src/Specific/montgomery64_2e152m17/compiler.sh
@@ -1,4 +1,4 @@
#!/bin/sh
set -eu
-gcc -fno-peephole2 `#GCC BUG 81300` -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Wno-incompatible-pointer-types -fno-strict-aliasing "$@"
+gcc -fno-peephole2 `#GCC BUG 81300` -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Wno-incompatible-pointer-types -fno-strict-aliasing -Dq_mpz='(1_mpz<<152) - 17' -Dmodulus_bytes_val='64' "$@"