diff options
-rwxr-xr-x | net/news/snownews/snownews.SlackBuild | 5 |
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 |