From 5cbb4133e99fdd1d2527b56c28a5149a8c3d26af Mon Sep 17 00:00:00 2001 From: Leszek Prochniak Date: Thu, 16 Sep 2021 18:01:28 +0200 Subject: 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 --- office/goldendict/goldendict.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'office') 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 -- cgit v1.2.3