diff options
author | gilcu3 | 2024-05-31 17:47:43 +0200 |
---|---|---|
committer | gilcu3 | 2024-05-31 17:47:43 +0200 |
commit | efde6d513691c53b3fa028180d8790372f4d4325 (patch) | |
tree | 9d5fde9ada1a98447f2b56a98e05ade3cd9982ab /PKGBUILD | |
parent | 36425a6cf9d4897859ae1fc833c7c96e0309b1ce (diff) | |
download | aur-ggnfs-svn.tar.gz |
upgpkg: ggnfs-svn 441-5
fix gcc-14 build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -9,7 +9,7 @@ pkgbase=ggnfs-svn pkgname=('ggnfs-lasieve4e-x86_64-svn' 'ggnfs-svn') pkgver=441 -pkgrel=4 +pkgrel=5 pkgdesc="GGNFS is an open source implementation of General Number Field Sieve algorithm for factoring integers." arch=('x86_64') url="http://sourceforge.net/projects/ggnfs/" @@ -67,8 +67,8 @@ prepare() { build() { cd "${srcdir}/${_svnmod}/src/experimental/lasieve4_64" - make - cd "${srcdir}/${_svnmod}" + make CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -O3 -march=native -mtune=native -funroll-loops -fstack-protector-strong -static -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=incompatible-pointer-types" + cd "${srcdir}/${_svnmod}" make "$_ggnfstarget" cd doc/ggnfs-doc latexmk -pdf ggnfs-doc |