network/wmnotify: Fixed build with gcc-5.2.0.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
David Spencer 2015-12-08 22:43:50 +00:00 committed by Willy Sudiarto Raharjo
parent 3ddd4e9c9b
commit a41b2261a5

View file

@ -71,12 +71,12 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Do you want to Patch it? let'go!
if [ $PATCH == "yes" ]; then
if [ "$PATCH" = "yes" ]; then
cp $CWD/wmnotify.patch ./src && cd src
patch -p0 < wmnotify.patch && cd ..
fi
CFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS -fgnu89-inline" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \