mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
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:
parent
13c83889bd
commit
2dcb1263a5
1 changed files with 4 additions and 5 deletions
|
@ -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…
Reference in a new issue