summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGeert Hendrickx2021-10-06 20:32:18 +0200
committerGeert Hendrickx2021-10-06 20:32:18 +0200
commit1319b820f395946cf85166c05b85dcb48f77a1a0 (patch)
treef8f59652c5769954aea12d89229070b64271c436 /PKGBUILD
parent6e0a424f9b82b4791414edb1243c4e0b3422ec48 (diff)
downloadaur-1319b820f395946cf85166c05b85dcb48f77a1a0.tar.gz
Build without optimizations to avoid an occasional segfault (TBI).
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 36a9f102685..2cd16d999c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=spamprobe
pkgver=1.4d
-pkgrel=8
+pkgrel=9
pkgdesc="Fast, intelligent, automatic spam detector using Paul Graham style Bayesian analysis of word counts in spam and non-spam emails"
arch=(i686 x86_64)
url="http://spamprobe.sourceforge.net/"
@@ -29,6 +29,7 @@ build() {
patch -p0 -i $srcdir/spamprobe-template.patch
patch -p0 -i $srcdir/spamprobe-giflib.patch
patch -p0 -i $srcdir/spamprobe-lrucache.patch
+ CXXFLAGS+=" -O0"
./configure --prefix=/usr --mandir=/usr/share/man
make
}