aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-27 18:35:46 +0100
committerRobby Workman <rworkman@slackbuilds.org>2022-02-27 22:29:05 -0600
commita7f73eb746fe56de31b33caac0c7ec0836cf3f2d (patch)
treec5b4bbeb3d5abfdd3bd241d613fdc912ac3147d7
parent1d282b428de09e4c4c7ae50643185a4c3a048c7e (diff)
academic/gchemutils: Use the C++14 standard.
gcc >= 11.x defaults to -std=gnu++17 and it breaks the build in this case. Switch to wxGTK3 Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--academic/gchemutils/gchemutils.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/academic/gchemutils/gchemutils.SlackBuild b/academic/gchemutils/gchemutils.SlackBuild
index 72696658c89b8..bc9bbae074512 100644
--- a/academic/gchemutils/gchemutils.SlackBuild
+++ b/academic/gchemutils/gchemutils.SlackBuild
@@ -88,7 +88,7 @@ find -L . \
[ ! "$MOZILLA" = "YES" ] && mozplug="disable" || mozplug="enable"
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \