mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
libraries/physfs: Fixed build with gcc-4.6 and turned off debug.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
4fe4fafdaa
commit
3c0c9551d3
1 changed files with 4 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=physfs
|
||||
VERSION=2.0.2
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -65,6 +65,9 @@ cd $PRGNAM-$VERSION
|
|||
chown -R root:root .
|
||||
chmod -R a-s,u+w,go+r-w .
|
||||
|
||||
# while we cut away -Werror to make gcc-4.6 happy, we turn off debug too
|
||||
sed -i "s|-g -pipe -Werror|-pipe|" CMakeLists.txt
|
||||
|
||||
cmake \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
|
|
Loading…
Reference in a new issue