libraries/physfs: Specify cmake's path to source.
Disable some warning-as-errors Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
0f0114114e
commit
b59d15037c
|
@ -72,14 +72,14 @@ find -L . \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
cmake \
|
cmake \
|
||||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -Wno-error=maybe-uninitialized" \
|
||||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||||
-DPHYSFS_BUILD_SHARED=ON \
|
-DPHYSFS_BUILD_SHARED=ON \
|
||||||
-DPHYSFS_BUILD_STATIC=OFF \
|
-DPHYSFS_BUILD_STATIC=OFF \
|
||||||
-DPHYSFS_BUILD_TEST=OFF \
|
-DPHYSFS_BUILD_TEST=OFF \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DLIB_SUFFIX:STRING=${LIBDIRSUFFIX}
|
-DLIB_SUFFIX:STRING=${LIBDIRSUFFIX} .
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
Loading…
Reference in New Issue