From ee9b0418a0461ff49331732932ecf7ce9c005c62 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 21 Jan 2008 12:16:48 +0000 Subject: 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 --- net/news/snownews/snownews.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'net/news/snownews/snownews.SlackBuild') 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 -- cgit v1.2.3