aboutsummaryrefslogtreecommitdiff
path: root/net/news/snownews
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2008-01-21 12:16:48 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2008-01-21 12:16:48 +0000
commitee9b0418a0461ff49331732932ecf7ce9c005c62 (patch)
tree3d157a6c1b234d823b0edff5a039b014e1b98d91 /net/news/snownews
parent308942cf2012247cd50c913c9adcb8e51d6d24a9 (diff)
downloadslackbuilds-ee9b0418a0461ff49331732932ecf7ce9c005c62.tar.gz
slackbuilds-ee9b0418a0461ff49331732932ecf7ce9c005c62.tar.bz2
snownews: removed -O2 for x86_64 to prevent segfaults
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1601 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net/news/snownews')
-rwxr-xr-xnet/news/snownews/snownews.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/news/snownews/snownews.SlackBuild b/net/news/snownews/snownews.SlackBuild
index 3ece7104..0b6df04c 100755
--- a/net/news/snownews/snownews.SlackBuild
+++ b/net/news/snownews/snownews.SlackBuild
@@ -95,6 +95,11 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix="$PREFIX" $CONF_OPTIONS || exit $ERROR_CONF
+# Fix against segfault
+if [ "$ARCH" == "x86_64" ]; then
+ sed -i 's/-O2 //g' platform_settings
+fi
+
# Compile
make $NUMJOBS || exit $ERROR_MAKE