From 905c7c9506e6d55d44a21f664a1ea3207666d083 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 12 May 2015 18:21:39 +0200 Subject: [PATCH] aspell: compile with -O0 to workaround C++ ctor/dtor ordering with musl. Thanks to chris2 for testing. --- srcpkgs/aspell/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/aspell/template b/srcpkgs/aspell/template index f0afd470374..0a5751ad6d2 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 }