diff --git a/srcpkgs/aspell/template b/srcpkgs/aspell/template index f0afd47037..0a5751ad6d 100644 --- a/srcpkgs/aspell/template +++ b/srcpkgs/aspell/template @@ -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 }