diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-08-28 16:26:47 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-30 06:55:47 +0700 |
commit | e7ad46ba119d02dfc8d239e0c75b39e5d431710f (patch) | |
tree | 94e2ff6fa6104df874e0ebed33921f1e65e84cdc /libraries/FreeImage/FreeImage.SlackBuild | |
parent | e6134e020c51ce944a1dc76c67a0a6913efbb3ad (diff) | |
download | slackbuilds-e7ad46ba119d02dfc8d239e0c75b39e5d431710f.tar.gz |
libraries/FreeImage: 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 'libraries/FreeImage/FreeImage.SlackBuild')
-rw-r--r-- | libraries/FreeImage/FreeImage.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/FreeImage/FreeImage.SlackBuild b/libraries/FreeImage/FreeImage.SlackBuild index be78127d82..2c1411efae 100644 --- a/libraries/FreeImage/FreeImage.SlackBuild +++ b/libraries/FreeImage/FreeImage.SlackBuild @@ -64,7 +64,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS -fexceptions -fvisibility=hidden -DNO_LCMS" \ -CXXFLAGS="$SLKCFLAGS -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy" \ +CXXFLAGS="$SLKCFLAGS -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -std=c++14" \ make INSTALLDIR=$PKG/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG make install INSTALLDIR=$PKG/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG |