volk: rebuild for gcc dropping gcc4 compat

Closes: #975 [via git-merge-pr]
This commit is contained in:
bra1nwave 2018-07-20 10:55:41 +02:00 committed by Jürgen Buchmüller
parent c5bec9a829
commit 46d3f3f199

View file

@ -1,7 +1,7 @@
# Template file for 'volk'
pkgname=volk
version=1.4
revision=1
revision=2
build_style=cmake
nocross="not complete for arm"
short_desc="Vector-Optimized Library of Kernels"
@ -13,12 +13,6 @@ homepage="http://libvolk.org/"
distfiles="https://github.com/gnuradio/volk/archive/v${version}.tar.gz"
checksum=32131ba17846850c07270bc5897dd2de7130ec02ca029875a36966335120e7bf
pre_configure() {
if [ -z $CROSS_BUILD ]; then
sed -i 's/-D_GLIBCXX_USE_CXX11_ABI=1/-D_GLIBCXX_USE_CXX11_ABI=0/g' CMakeLists.txt
fi
}
volk-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"