aboutsummaryrefslogtreecommitdiff
path: root/multimedia/wxcam
diff options
context:
space:
mode:
authorDave MacCormack <davamaca@gmail.com>2021-09-01 07:50:31 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-06 08:50:31 +0700
commitb301029c1c7bd26b3f26cbcbd7a42d7b36a47b30 (patch)
tree0fa35d840a54a7f49ba95d687038eba68c773586 /multimedia/wxcam
parentac6dd57682fb7996d9e53d2b1918520c1b49cced (diff)
multimedia/wxcam: 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> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/wxcam')
-rw-r--r--multimedia/wxcam/wxcam.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/multimedia/wxcam/wxcam.SlackBuild b/multimedia/wxcam/wxcam.SlackBuild
index da4670d23ec62..44a43c4e5212a 100644
--- a/multimedia/wxcam/wxcam.SlackBuild
+++ b/multimedia/wxcam/wxcam.SlackBuild
@@ -85,7 +85,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \