summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Cimarelli2021-08-13 09:19:53 +0200
committerSimone Cimarelli2021-08-13 09:21:14 +0200
commitef4675d170600e004196a363745a3aad4df2228e (patch)
treef6a4b358b2b2dc0f3b3ed429e4d5f5ce148c51fe
parentbed9f21b5bdca0ea24e8ad52b5d38bd7ebf801a9 (diff)
downloadaur-ef4675d170600e004196a363745a3aad4df2228e.tar.gz
Version 20210429.6df3f65c8
* Fix compilation bug due to missing AVX instructions in the baseline x86_64 micro-architecture feature level
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2f86efc9669d..1326e6362973 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkg=cado-nfs
pkgname=${_pkg}-git
-pkgver=20210429.6df3f65c8
+pkgver=20210806.c5b20eac1
pkgrel=1
pkgdesc="Implementation of the Number Field Sieve (NFS) algorithm for factoring integers"
arch=('i686' 'pentium4' 'x86_64')
@@ -37,7 +37,7 @@ CURL=$PREFIX
# Remove 32-bit barriers to big factorizations
FLAGS_SIZE="-DSIZEOF_P_R_VALUES=8 -DSIZEOF_INDEX=8"
EOF
- make
+ make CFLAGS="$CFLAGS -march=x86-64-v4" CPPFLAGS="$CPPFLAGS -march=x86-64-v4"
}
package() {