mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
perl: add -D_GNU_SOURCE to CFLAGS
This commit is contained in:
+1
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user