summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-01-27 20:08:33 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-30 08:36:03 +0700
commit4aec3fd27b38693f76d7cb7b5902c23067641953 (patch)
treeeedd19e98830efed15d90bb5fbc04e6827616fa8 /misc
parent37a554a05c84d3b5c9550aa81176e0c23b947ec4 (diff)
downloadslackbuilds-4aec3fd27b38693f76d7cb7b5902c23067641953.tar.gz
misc/heimdall: Use the C++14 standard.
gcc >= 11.x defaults to -std=gnu++17 and it breaks the build in this case. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/heimdall/heimdall.SlackBuild4
-rw-r--r--misc/heimdall/heimdall.info2
2 files changed, 3 insertions, 3 deletions
diff --git a/misc/heimdall/heimdall.SlackBuild b/misc/heimdall/heimdall.SlackBuild
index 36f2b99442..2148ce13f8 100644
--- a/misc/heimdall/heimdall.SlackBuild
+++ b/misc/heimdall/heimdall.SlackBuild
@@ -84,7 +84,7 @@ find -L . \
# This is a mandatory Heimdall component
cd libpit
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=gnu++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -100,7 +100,7 @@ cd $TMP/$PRGNAM-suite-$VERSION
# Compile and Install Heimdall
cd heimdall
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=gnu++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
diff --git a/misc/heimdall/heimdall.info b/misc/heimdall/heimdall.info
index 9a41a33779..13fdf5489c 100644
--- a/misc/heimdall/heimdall.info
+++ b/misc/heimdall/heimdall.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://bitbucket.org/benjamin_dobell/heimdall/downloads/heimdall-suit
MD5SUM="911c6825c7a09340c27b1ee5078736c5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Diniz Bortolotto"
EMAIL="diniz.bortolotto@gmail.com"