summaryrefslogtreecommitdiffstats
path: root/libraries/physfs/physfs.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2019-02-17 19:00:23 +0100
committer Matteo Bernardini2019-02-17 19:00:23 +0100
commit728d1f98285ca36c6f63c48b4a9f3125ef7396ff (patch)
treeb9f9d2618fd06436d8eb61488edebac987197d5e /libraries/physfs/physfs.SlackBuild
parent77c0f4770537aea300fccd3189b723bfada95f22 (diff)
downloadslackbuilds-d3a54bdd6cf5c967bb7a0a5a72dbf487bad56b2a.tar.gz
20190217.1 global branch merge.current-20190217.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/physfs/physfs.SlackBuild')
-rw-r--r--libraries/physfs/physfs.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/physfs/physfs.SlackBuild b/libraries/physfs/physfs.SlackBuild
index 67e7602d4e..815653bfdc 100644
--- a/libraries/physfs/physfs.SlackBuild
+++ b/libraries/physfs/physfs.SlackBuild
@@ -72,14 +72,14 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -Wno-error=maybe-uninitialized" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DPHYSFS_BUILD_SHARED=ON \
-DPHYSFS_BUILD_STATIC=OFF \
-DPHYSFS_BUILD_TEST=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX:STRING=${LIBDIRSUFFIX}
+ -DLIB_SUFFIX:STRING=${LIBDIRSUFFIX} .
make
make install DESTDIR=$PKG