aspell: compile with -O0 to workaround C++ ctor/dtor ordering with musl.

Thanks to chris2 for testing.
This commit is contained in:
Juan RP 2015-05-12 18:21:39 +02:00
parent 7f4031bda9
commit 905c7c9506
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'aspell'
pkgname=aspell
version=0.60.6.1
revision=7
revision=8
build_style=gnu-configure
configure_args="--enable-compile-in-filters"
hostmakedepends="automake libtool gettext-devel perl"
@ -15,6 +15,8 @@ distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1
pre_configure() {
# XXX workaround ctor/dtor ordering with musl
export CXXFLAGS="${CXXFLAGS/-O?/-O0}"
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
autoreconf -fi
}