Browse Source

development/frobtads: Fix 32-bit build.

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

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/186/head
B. Watson 4 years ago
committed by Willy Sudiarto Raharjo
parent
commit
2dcb1263a5
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 9
      development/frobtads/frobtads.SlackBuild

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

Loading…
Cancel
Save