aboutsummaryrefslogtreecommitdiff
path: root/net/news
diff options
context:
space:
mode:
authorrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2008-01-21 12:21:13 +0000
committerrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2008-01-21 12:21:13 +0000
commit961d5dfcbc0c948d2bfaee0d7c5d2a1249c9174c (patch)
tree0ab0d8e14003a8f43d97450b3cc6893485e95a88 /net/news
parent3b0f9dace18a83ed85e8a654a44b3d97ae5d40da (diff)
downloadmkbuilds-961d5dfcbc0c948d2bfaee0d7c5d2a1249c9174c.tar.gz
mkbuilds-961d5dfcbc0c948d2bfaee0d7c5d2a1249c9174c.tar.bz2
snownews: removed -O2 for x86_64 to prevent segfaults
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@58 18ef50b8-d735-4ccd-97c1-689132df3dd9
Diffstat (limited to 'net/news')
-rw-r--r--net/news/snownews/snownews.mkbuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/news/snownews/snownews.mkbuild b/net/news/snownews/snownews.mkbuild
index 5db5f64..3276d13 100644
--- a/net/news/snownews/snownews.mkbuild
+++ b/net/news/snownews/snownews.mkbuild
@@ -95,5 +95,10 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$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
#<configure