aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/frobtads/frobtads.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/development/frobtads/frobtads.SlackBuild b/development/frobtads/frobtads.SlackBuild
index 0691aa1313130..0dd0d045cf5aa 100644
--- a/development/frobtads/frobtads.SlackBuild
+++ b/development/frobtads/frobtads.SlackBuild
@@ -6,12 +6,11 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# Note: the homepage shows 1.2.3 as the latest release, but the github
-# page has 1.2.4, which includes the resource compiler (which seems
-# pretty important).
-
# TODO: maybe write some man pages.
+# 20220318 bkw: fix build on 32-bit. for some reason, 32-bit needs
+# -fpermissive, thought 64-bit does not.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=frobtads
@@ -73,7 +72,7 @@ cd build
cmake \
-DENABLE_FROBD=ON \
-DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS -DNDEBUG" \
- -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS -DNDEBUG" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS -fpermissive -DNDEBUG" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \