libopenal: fix armv6*
Inlining of gcc6 arm_neon.h functions fails because they are called indirectly, which isn't allowed for always_inline functions. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63220 As a workaround, make the arm_neon.h detection fail for armv6*
This commit is contained in:
parent
241a5c48b8
commit
28fa95152f
1 changed files with 9 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libopenal'
|
# Template file for 'libopenal'
|
||||||
pkgname=libopenal
|
pkgname=libopenal
|
||||||
version=1.17.2
|
version=1.17.2
|
||||||
revision=3
|
revision=4
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
wrksrc="openal-soft-${version}"
|
wrksrc="openal-soft-${version}"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -13,6 +13,14 @@ homepage="http://kcat.strangesoft.net/openal.html"
|
||||||
distfiles="http://kcat.strangesoft.net/openal-releases/openal-soft-${version}.tar.bz2"
|
distfiles="http://kcat.strangesoft.net/openal-releases/openal-soft-${version}.tar.bz2"
|
||||||
checksum=a341f8542f1f0b8c65241a17da13d073f18ec06658e1a1606a8ecc8bbc2b3314
|
checksum=a341f8542f1f0b8c65241a17da13d073f18ec06658e1a1606a8ecc8bbc2b3314
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
armv6*) # Hack to not compile (broken) arm_neon.h inlining of indirect function calls
|
||||||
|
sed -i CMakeLists.txt -e"s;arm_neon.h;arm_neon.xxx;"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -f ${DESTDIR}/usr/share/openal/alsoftrc.sample
|
rm -f ${DESTDIR}/usr/share/openal/alsoftrc.sample
|
||||||
vsconf alsoftrc.sample
|
vsconf alsoftrc.sample
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue