beignet: fix build with gcc>=11

This commit is contained in:
Duncaen 2022-10-08 16:20:38 +02:00
parent 5270701614
commit aa9c6999da
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ homepage="http://www.freedesktop.org/wiki/Software/Beignet/"
distfiles="https://01.org/sites/default/files/${pkgname}-${version}-source.tar.gz"
checksum=c555edba149de23243965a703f39f79fa06f15bcff5a3762b5544b0925010b43
export CXXFLAGS="-std=c++14"
post_install() {
# remove CL headers, we do use opencl-headers instead.
rm -r ${DESTDIR}/usr/include