aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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