diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2019-01-18 07:16:53 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:53:45 -0500 |
commit | b59d15037c712859aba94e40be28171780e3b1d0 (patch) | |
tree | d9f6d1324686950bd6cebe312a4cc447e2b411be | |
parent | 0f0114114e205809d1c81c890f016ecec48eb6ab (diff) | |
download | slackbuilds-b59d15037c712859aba94e40be28171780e3b1d0.tar.gz |
libraries/physfs: Specify cmake's path to source.
Disable some warning-as-errors
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | libraries/physfs/physfs.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/physfs/physfs.SlackBuild b/libraries/physfs/physfs.SlackBuild index 244a1966fa..5974c8225d 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 |