diff options
author | Dave MacCormack <davamaca@gmail.com> | 2021-09-01 07:50:31 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-09-06 08:50:31 +0700 |
commit | b301029c1c7bd26b3f26cbcbd7a42d7b36a47b30 (patch) | |
tree | 0fa35d840a54a7f49ba95d687038eba68c773586 /multimedia/wxcam | |
parent | ac6dd57682fb7996d9e53d2b1918520c1b49cced (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.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/multimedia/wxcam/wxcam.SlackBuild b/multimedia/wxcam/wxcam.SlackBuild index da4670d23ec6..44a43c4e5212 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} \ |