mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/p7zip: Use the C++14 standard.
gcc >= 11.x defaults to -std=gnu++17 and this breaks the build in this case Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4360281af5
commit
11fa1509b2
1 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ find -L . \
|
|||
patch -p1 < $CWD/gcc10.patch
|
||||
|
||||
make all3 \
|
||||
OPTFLAGS="$SLKCFLAGS" \
|
||||
OPTFLAGS="$SLKCFLAGS -std=gnu++14" \
|
||||
DEST_HOME=/usr \
|
||||
DEST_SHARE_DOC=/usr/doc/$PRGNAM-$VERSION \
|
||||
DEST_SHARE=/usr/lib$LIBDIRSUFFIX/p7zip \
|
||||
|
@ -94,7 +94,7 @@ make all3 \
|
|||
if ! [ "$GUI" = "no" ]; then
|
||||
sed -i "s|/usr/lib/|/usr/lib$LIBDIRSUFFIX/|g" CPP/7zip/UI/GUI/makefile.depend
|
||||
make 7zG \
|
||||
OPTFLAGS="$SLKCFLAGS" \
|
||||
OPTFLAGS="$SLKCFLAGS -std=gnu++14" \
|
||||
DEST_HOME=/usr \
|
||||
DEST_SHARE_DOC=/usr/doc/$PRGNAM-$VERSION \
|
||||
DEST_SHARE=/usr/lib$LIBDIRSUFFIX/p7zip \
|
||||
|
|
Loading…
Reference in a new issue