summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2017-06-20 09:51:13 +0200
committer Matteo Bernardini2021-02-27 11:06:26 +0100
commit8d4c58fb257f96a1c96f2d2bc681afe4724286da (patch)
treeb57fd686b29a3665d22647e45d16395e49c4dd95
parent9aa1498acb0841d4ce656319a4de5cc157b4e2ed (diff)
downloadslackbuilds-stardict-tools.tar.gz
misc/stardict-tools: Disabled narrowing warn., added -fpermissive.stardict-tools
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--misc/stardict-tools/stardict-tools.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/stardict-tools/stardict-tools.SlackBuild b/misc/stardict-tools/stardict-tools.SlackBuild
index 7a681ee867..5466bff3f4 100644
--- a/misc/stardict-tools/stardict-tools.SlackBuild
+++ b/misc/stardict-tools/stardict-tools.SlackBuild
@@ -52,6 +52,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p0 < $CWD/stardict-tools.patch
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -Wno-error=narrowing -fpermissive" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \