development/frobtads: Fix 32-bit build.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-03-18 13:01:59 -04:00 committed by Willy Sudiarto Raharjo
parent 13c83889bd
commit 2dcb1263a5
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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 \