aspell: compile with -O0 to workaround C++ ctor/dtor ordering with musl.
Thanks to chris2 for testing.
This commit is contained in:
parent
7f4031bda9
commit
905c7c9506
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'aspell'
|
# Template file for 'aspell'
|
||||||
pkgname=aspell
|
pkgname=aspell
|
||||||
version=0.60.6.1
|
version=0.60.6.1
|
||||||
revision=7
|
revision=8
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-compile-in-filters"
|
configure_args="--enable-compile-in-filters"
|
||||||
hostmakedepends="automake libtool gettext-devel perl"
|
hostmakedepends="automake libtool gettext-devel perl"
|
||||||
|
@ -15,6 +15,8 @@ distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1
|
checksum=f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1
|
||||||
|
|
||||||
pre_configure() {
|
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
|
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue