From 0c02a822da7d25c2849fcfe876ea96ebb46a857e Mon Sep 17 00:00:00 2001 From: Matheus Date: Fri, 24 Apr 2026 12:00:25 -0300 Subject: [PATCH] perl: add -D_GNU_SOURCE to CFLAGS --- recipes/perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/perl b/recipes/perl index 200b63f0..a73e95c2 100644 --- a/recipes/perl +++ b/recipes/perl @@ -8,7 +8,7 @@ deps="base bzip2 libxcrypt zlib libintl gettext" configure() { cp -rp ${source_dir}/* . cp -rp /usr/local/share/perl-cross/* . - CFLAGS="${CFLAGS} -DNO_LOCALE -Wno-error=implicit-function-declaration" ./configure --target=x86_64-astral --prefix=${prefix} -Dvendorprefix=${prefix} --target-tools-prefix=x86_64-astral- --mode=cross --targetarch=x86_64-astral --sysroot=${sysroot_dir} + CFLAGS="${CFLAGS} -D_GNU_SOURCE -DNO_LOCALE -Wno-error=implicit-function-declaration" ./configure --target=x86_64-astral --prefix=${prefix} -Dvendorprefix=${prefix} --target-tools-prefix=x86_64-astral- --mode=cross --targetarch=x86_64-astral --sysroot=${sysroot_dir} } build() {