diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-08-28 15:51:53 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-30 06:55:47 +0700 |
commit | e6134e020c51ce944a1dc76c67a0a6913efbb3ad (patch) | |
tree | 5a61715f5d0f92f58e13fcc7d7d7656ce95d617b /libraries/DevIL | |
parent | 0d4548ff99102013996c3f5b2ea4ca5d4c146c71 (diff) |
libraries/DevIL: 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/DevIL')
-rw-r--r-- | libraries/DevIL/DevIL.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/DevIL/DevIL.SlackBuild b/libraries/DevIL/DevIL.SlackBuild index 618c2ad2eb63..cb08f23f47b3 100644 --- a/libraries/DevIL/DevIL.SlackBuild +++ b/libraries/DevIL/DevIL.SlackBuild @@ -71,7 +71,7 @@ mkdir -p DevIL/build cd DevIL/build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++14 -fpermissive" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. make |