diff options
author | Dylan Delgado | 2023-02-07 16:06:36 -0500 |
---|---|---|
committer | Dylan Delgado | 2023-02-07 16:06:36 -0500 |
commit | 2ae229b6fe29d146a43fd27e7dc5c68fa1a71798 (patch) | |
tree | b0a27da121102b227ac62e04191fd290d0731612 | |
parent | 4bd37be98f3be2993ed385af1451fa80961bdccc (diff) | |
download | aur-2ae229b6fe29d146a43fd27e7dc5c68fa1a71798.tar.gz |
Update to latest revision, add linker flag
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = mtsieve pkgdesc = Library for sieving various types of numbers - pkgver = 2.3.8.r229 + pkgver = 2.4.2.r257 pkgrel = 1 url = https://sourceforge.net/projects/mtsieve/ arch = x86_64 @@ -1,7 +1,7 @@ #Maintainer: Dylan Delgado <dylan1496@live.com> pkgname=mtsieve -pkgver=2.3.8.r229 +pkgver=2.4.2.r257 pkgrel=1 pkgdesc='Library for sieving various types of numbers' url='https://sourceforge.net/projects/mtsieve/' @@ -24,6 +24,7 @@ prepare() { -e 's/^CPPFLAGS =/CPPFLAGS +=/' \ -e "/^SVN_VERSION :=/s/=.*/= r${_pkgrev}/" \ -i makefile + sed '30 c\LD_FLAGS=-z noexecstack' -i makefile cd core sed '11 c\#include <cstddef>' -i MpArithVector.h } @@ -31,6 +32,7 @@ prepare() { build() { cd "${srcdir}/${pkgname}-svn" CPPFLAGS+=' -march=native' + LD_FLAGS+=' -z noexecstack' make } |