diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-18 13:01:59 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-20 20:45:14 +0700 |
commit | 2dcb1263a50b8c72e223bcc06b259b8a25eb6c3c (patch) | |
tree | a6a482db26d1c6ac929fedab4bd22764e5c68102 | |
parent | 13c83889bd359fa6d9b6980fa5ce75e1f32bc5b7 (diff) | |
download | slackbuilds-2dcb1263a50b8c72e223bcc06b259b8a25eb6c3c.tar.gz |
development/frobtads: Fix 32-bit build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/frobtads/frobtads.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/development/frobtads/frobtads.SlackBuild b/development/frobtads/frobtads.SlackBuild index 0691aa1313..0dd0d045cf 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 \ |