perl: fix locale with musl (triggers rebuild)
resolves void-linux/void-packages#1798 [ci skip]
This commit is contained in:
parent
d7230d84fa
commit
4cc173e6a6
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'perl'
|
||||
pkgname=perl
|
||||
version=5.28.0
|
||||
revision=1
|
||||
revision=2
|
||||
_perl_cross_version=1.2
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="less"
|
||||
|
@ -179,6 +179,7 @@ do_configure() {
|
|||
export HOSTCFLAGS
|
||||
HOSTLDFLAGS+=" -pthread"
|
||||
export HOSTLDFLAGS
|
||||
CFLAGS+=" -DNO_POSIX_2008_LOCALE"
|
||||
CFLAGS+=" -D_GNU_SOURCE";;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in a new issue