clthreads: explicit -fPIC to fix build; use vsed
This commit is contained in:
parent
70d624094a
commit
20579c693d
1 changed files with 3 additions and 1 deletions
|
@ -12,8 +12,10 @@ homepage="https://kokkinizita.linuxaudio.org/linuxaudio/"
|
|||
distfiles="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
|
||||
checksum=c659b14c0c4055c44432cb83060b95d30ae0c1ecc6f50d73968e239c100f7a31
|
||||
|
||||
CXXFLAGS="-fPIC"
|
||||
|
||||
pre_build() {
|
||||
sed -i '/march=native/d' Makefile
|
||||
vsed -i Makefile -e '/march=native/d'
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
|
|
Loading…
Reference in a new issue