zita-resampler: don't build with -march=native; fixed cross build.
This commit is contained in:
parent
0213203e50
commit
073560fb20
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'zita-resampler'
|
||||
pkgname=zita-resampler
|
||||
version=1.3.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
make_install_args="LIBDIR=lib"
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -13,6 +13,11 @@ homepage="http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.
|
|||
distfiles="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
|
||||
checksum="98034c8c77b03ad1093f7ca0a83ccdfad5a36040a5a95bd4dac80fa68bcf2a65"
|
||||
|
||||
pre_build() {
|
||||
sed -i 's/g++/$(CXX)/' Makefile
|
||||
sed -i '/march=native/d' Makefile
|
||||
}
|
||||
|
||||
zita-resampler-devel_package() {
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in New Issue