perl: fix locale with musl (triggers rebuild)
resolves void-linux/void-packages#1798 [ci skip]
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'perl'
|
# Template file for 'perl'
|
||||||
pkgname=perl
|
pkgname=perl
|
||||||
version=5.28.0
|
version=5.28.0
|
||||||
revision=1
|
revision=2
|
||||||
_perl_cross_version=1.2
|
_perl_cross_version=1.2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="less"
|
hostmakedepends="less"
|
||||||
@@ -179,6 +179,7 @@ do_configure() {
|
|||||||
export HOSTCFLAGS
|
export HOSTCFLAGS
|
||||||
HOSTLDFLAGS+=" -pthread"
|
HOSTLDFLAGS+=" -pthread"
|
||||||
export HOSTLDFLAGS
|
export HOSTLDFLAGS
|
||||||
|
CFLAGS+=" -DNO_POSIX_2008_LOCALE"
|
||||||
CFLAGS+=" -D_GNU_SOURCE";;
|
CFLAGS+=" -D_GNU_SOURCE";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user