clthreads: explicit -fPIC to fix build; use vsed

This commit is contained in:
Jürgen Buchmüller 2020-12-25 22:54:05 +01:00
parent 70d624094a
commit 20579c693d

View file

@ -12,8 +12,10 @@ homepage="https://kokkinizita.linuxaudio.org/linuxaudio/"
distfiles="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2" distfiles="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
checksum=c659b14c0c4055c44432cb83060b95d30ae0c1ecc6f50d73968e239c100f7a31 checksum=c659b14c0c4055c44432cb83060b95d30ae0c1ecc6f50d73968e239c100f7a31
CXXFLAGS="-fPIC"
pre_build() { pre_build() {
sed -i '/march=native/d' Makefile vsed -i Makefile -e '/march=native/d'
} }
pre_install() { pre_install() {