aboutsummaryrefslogtreecommitdiff
path: root/misc/stardict-tools
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-06-20 09:51:13 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-18 00:00:58 -0500
commit7c2ce018e685bf757d63eb7e4ac4ff6bf13fddcb (patch)
treedd22fa75c55507edd7ad2a97ba7d2f61342709ff /misc/stardict-tools
parent9fd602849bc34838ffa1b13b738375f48d7c1010 (diff)
misc/stardict-tools: Disabled narrowing warn., added -fpermissive.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'misc/stardict-tools')
-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 7a681ee86795d..5466bff3f4c78 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} \