summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2017-05-05 23:36:35 +0200
committer Matteo Bernardini2018-06-09 08:39:37 +0200
commitd2b9ef8a9828d3bac0fb1df9a52ade72c19fc679 (patch)
tree370b108fad2d0ff274cc8e44ee815c4a1b963473
parent81c344443219574587ae3d6bccb8f19c1bd346af (diff)
downloadold.slackbuilds-physfs.tar.gz
libraries/physfs: Disable some warning-as-errors.physfs
This makes gcc-7.x happy Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/physfs/physfs.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/physfs/physfs.SlackBuild b/libraries/physfs/physfs.SlackBuild
index 67e7602d4e..dc88c69e1d 100644
--- a/libraries/physfs/physfs.SlackBuild
+++ b/libraries/physfs/physfs.SlackBuild
@@ -72,7 +72,7 @@ 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 \