tbb: limit supported archs

This commit is contained in:
Andrea Brancaleoni 2015-09-01 10:35:00 +02:00
parent c58541d48d
commit ef54adc9f7

View file

@ -1,7 +1,7 @@
# Template file for 'tbb'
pkgname=tbb
version=4.4.20150728
revision=2
revision=3
_lv="${version%.*}"
_lv="${_lv//.}"
_rv="${version##*.}"
@ -14,6 +14,8 @@ homepage="http://www.threadingbuildingblocks.org"
distfiles="https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb${_lv}_${_rv}oss_src.tgz"
checksum=e9534f3238e6f7b34f9d0a78cb8604da1c5a611c5a2569fdd9cc90e06339538a
only_for_archs="i686-musl x86_64-musl armv7l-musl aarch64-musl i686 x86_64 armv7l aarch64"
post_extract() {
sed -i 's|CPLUS = g..|CPLUS = $(CXX)|g' build/linux.gcc.inc
sed -i 's|CONLY = gcc|CONLY = $(CC)|g' build/linux.gcc.inc