diff --git a/srcpkgs/musl/template b/srcpkgs/musl/template index 21d189515a7..05680900e70 100644 --- a/srcpkgs/musl/template +++ b/srcpkgs/musl/template @@ -1,7 +1,7 @@ # Template file for 'musl'. pkgname=musl version=1.1.9 -revision=1 +revision=2 build_style=gnu-configure configure_args="--prefix=/usr --disable-gcc-wrapper" conflicts="glibc>=0" @@ -15,7 +15,7 @@ checksum=00bf7173caf972c88cd07cb0d420c082a2f35efcccc1a81f8909bec2d030283e nostrip_files="libc.so" shlib_provides="libc.so" only_for_archs="i686-musl x86_64-musl armv6l-musl armv7l-musl aarch64-musl" -CFLAGS="-fno-stack-protector -U_FORTIFY_SOURCE" +CFLAGS="-U_FORTIFY_SOURCE" post_build() { $CC $CFLAGS $LDFLAGS ${FILESDIR}/getent.c -o getent @@ -41,4 +41,7 @@ do_install() { vmkdir usr/share/xbps.d echo "architecture=${XBPS_TARGET_MACHINE}" > ${DESTDIR}/usr/share/xbps.d/musl-arch.conf + # Use gettext libintl.h implementation, there seems to be + # issues with musl's dcngettext(). + rm -f ${DESTDIR}/usr/include/libintl.h }