summaryrefslogtreecommitdiff
path: root/development/ftjam
diff options
context:
space:
mode:
Diffstat (limited to 'development/ftjam')
-rw-r--r--development/ftjam/ftjam.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/development/ftjam/ftjam.SlackBuild b/development/ftjam/ftjam.SlackBuild
index 98cb2d40fb..2e4c4d680b 100644
--- a/development/ftjam/ftjam.SlackBuild
+++ b/development/ftjam/ftjam.SlackBuild
@@ -32,8 +32,10 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+# Version 2.5.2 will not build without -fno-strict-aliasing.
+# Works around a ftjam bug where jam0 segfaults.
+CFLAGS="$SLKCFLAGS -fno-strict-aliasing" \
+CXXFLAGS="$SLKCFLAGS -fno-strict-aliasing" \
./configure --prefix=/usr
make