summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Leszek Prochniak2021-09-16 18:01:28 +0200
committer Matteo Bernardini2021-09-16 18:01:28 +0200
commit5cbb4133e99fdd1d2527b56c28a5149a8c3d26af (patch)
treed331fd01d0ed42b9d383d08f6c1fe6b9bc911ecc
parentedde3e84fb59fdbbe0e69a505faa4bb1e0d8ce85 (diff)
downloadslackbuilds-5cbb4133e99fdd1d2527b56c28a5149a8c3d26af.tar.gz
office/goldendict: Use the C++14 standard.
gcc >= 11.x defaults to -std=gnu++17 and it breaks the build in this case Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--office/goldendict/goldendict.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/goldendict/goldendict.SlackBuild b/office/goldendict/goldendict.SlackBuild
index 178b54bf3e..76db523f89 100644
--- a/office/goldendict/goldendict.SlackBuild
+++ b/office/goldendict/goldendict.SlackBuild
@@ -75,7 +75,8 @@ for i in $CWD/patches/* ; do patch -p1 < $i ; done
qmake-qt5 PREFIX=/usr \
CONFIG+=no_epwing_support \
CONFIG+=zim_support \
- DISABLE_INTERNAL_PLAYER=$DISABLE_INTERNAL_PLAYER
+ DISABLE_INTERNAL_PLAYER=$DISABLE_INTERNAL_PLAYER \
+ QMAKE_CXXFLAGS+=-std=c++14
make install INSTALL_ROOT=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION