aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2023-07-04 22:44:40 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-08 16:41:50 +0700
commitceb5b8e262dccf3041c093a87f232f293b59890d (patch)
treee79b4189d3856c4ae0f936a629f24ade1d029a64 /multimedia
parent5be051221dfa73594a7ace3c525ff6cfdea52aa0 (diff)
multimedia/pocketsphinx: Fix 32bit build.
The CFLAGS have spaces and must be quoted. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/pocketsphinx/pocketsphinx.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/pocketsphinx/pocketsphinx.SlackBuild b/multimedia/pocketsphinx/pocketsphinx.SlackBuild
index f2f18b85c0f12..307896c97cbed 100644
--- a/multimedia/pocketsphinx/pocketsphinx.SlackBuild
+++ b/multimedia/pocketsphinx/pocketsphinx.SlackBuild
@@ -88,13 +88,13 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cmake -B build -S $TMP/$PRGNAM-$COMMIT \
- -DCMAKE_C_FLAGS=$SLKCFLAGS \
- -DCMAKE_CXX_FLAGS=$SLKCFLAGS \
+ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_BINDIR=/usr/bin \
-DCMAKE_INSTALL_DOCDIR=/usr/doc \
-DCMAKE_INSTALL_INCLUDEDIR=/usr/include \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib64 \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DCMAKE_INSTALL_MANDIR=/usr/man