academic/tophat: Use -std=c++14.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2022-03-03 03:16:39 +00:00
parent 8a65ad3b95
commit f67f30e039

View file

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tophat
VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -86,6 +86,7 @@ patch -p1 < $CWD/make_pair.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \