summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2019-09-26 15:43:42 +0200
committer Matteo Bernardini2021-02-20 20:05:03 +0100
commit1d29e0b87e2a12364172b2404dd3c5b48002d905 (patch)
treec7195ce3b1b736ef5b7c2130d604a8baf42e4673
parent77c0b44bbfd192ed8977df6dcfe55d5defeab350 (diff)
downloadslackbuilds-libindicator3.tar.gz
libraries/libindicator3: Disable warnings-as-errors.libindicator3
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/libindicator3/libindicator3.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/libindicator3/libindicator3.SlackBuild b/libraries/libindicator3/libindicator3.SlackBuild
index c47ccefa2a..f4c8d0ee8a 100644
--- a/libraries/libindicator3/libindicator3.SlackBuild
+++ b/libraries/libindicator3/libindicator3.SlackBuild
@@ -69,6 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Disable warnings-as-errors
+sed -i "s|-Wall -Werror|-Wall|" */Makefile.am
+
./autogen.sh
CFLAGS="$SLKCFLAGS -Wno-deprecated -Wno-deprecated-declarations" \
CXXFLAGS="$SLKCFLAGS -Wno-deprecated -Wno-deprecated-declarations" \