From 64a941dc18f7ff3a0c6b7dfa45bc70cfe3873c45 Mon Sep 17 00:00:00 2001 From: apio Date: Thu, 4 Jan 2024 21:04:45 +0100 Subject: [PATCH] ports: Use --enable-initfini-array in gcc and binutils ports --- ports/binutils/PACKAGE | 2 +- ports/gcc/PACKAGE | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/binutils/PACKAGE b/ports/binutils/PACKAGE index 86189bdf..9a119cc0 100644 --- a/ports/binutils/PACKAGE +++ b/ports/binutils/PACKAGE @@ -19,5 +19,5 @@ do_patch() do_configure() { - $srcdir/configure --host=$LUNA_ARCH-luna --with-build-sysroot=$LUNA_BASE --disable-nls --disable-werror --enable-warn-rwx-segments=no --prefix=/usr --enable-gold=no --enable-ld=yes --enable-gprofng=no + $srcdir/configure --host=$LUNA_ARCH-luna --with-build-sysroot=$LUNA_BASE --disable-nls --disable-werror --enable-warn-rwx-segments=no --prefix=/usr --enable-gold=no --enable-ld=yes --enable-gprofng=no --enable-initfini-array } diff --git a/ports/gcc/PACKAGE b/ports/gcc/PACKAGE index 9e9b4e74..284583b7 100644 --- a/ports/gcc/PACKAGE +++ b/ports/gcc/PACKAGE @@ -17,7 +17,7 @@ do_patch() do_configure() { - $srcdir/configure --prefix=/usr --target=$LUNA_ARCH-luna --host=$LUNA_ARCH-luna --disable-nls --with-build-sysroot=$LUNA_BASE --enable-languages=c,c++ --enable-checking + $srcdir/configure --prefix=/usr --target=$LUNA_ARCH-luna --host=$LUNA_ARCH-luna --disable-nls --with-build-sysroot=$LUNA_BASE --enable-languages=c,c++ --enable-checking --enable-initfini-array } do_build()