Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools enable initfini-array since all platforms support it.



details:   https://anonhg.NetBSD.org/src/rev/e32ef35e1ec4
branches:  trunk
changeset: 983176:e32ef35e1ec4
user:      christos <christos%NetBSD.org@localhost>
date:      Fri May 07 23:00:04 2021 +0000

description:
enable initfini-array since all platforms support it.

diffstat:

 tools/binutils/Makefile |  6 +++---
 tools/gcc/Makefile      |  3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (44 lines):

diff -r 2dfc11b45c3c -r e32ef35e1ec4 tools/binutils/Makefile
--- a/tools/binutils/Makefile   Fri May 07 22:46:10 2021 +0000
+++ b/tools/binutils/Makefile   Fri May 07 23:00:04 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.31 2020/04/04 00:47:30 christos Exp $
+#      $NetBSD: Makefile,v 1.32 2021/05/07 23:00:04 christos Exp $
 
 .include <bsd.hostinit.mk>
 
@@ -13,7 +13,7 @@
 
 CONFIGURE_ARGS=        --target=${MACHINE_GNU_PLATFORM} --disable-nls \
                --program-transform-name="s,^,${MACHINE_GNU_PLATFORM}-," \
-               --disable-werror --disable-initfini-array \
+               --disable-werror --enable-initfini-array=yes \
                ${BRANDING}
 
 build/gas/m68k-parse.c: ${GNUHOSTDIST}/gas/m68k-parse.c
@@ -68,7 +68,7 @@
                        --build=`${GNUHOSTDIST}/config.guess` \
                        --host=${MACHINE_GNU_PLATFORM} \
                        --target=${MACHINE_GNU_PLATFORM} \
-                       --disable-initfini-array \
+                       --enable-initfini-array=yes \
                        ${BRANDING} \
                )
        PATH=${TOOLDIR}/bin:$$PATH; export PATH; \
diff -r 2dfc11b45c3c -r e32ef35e1ec4 tools/gcc/Makefile
--- a/tools/gcc/Makefile        Fri May 07 22:46:10 2021 +0000
+++ b/tools/gcc/Makefile        Fri May 07 23:00:04 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.102 2021/04/11 23:55:47 mrg Exp $
+#      $NetBSD: Makefile,v 1.103 2021/05/07 23:00:04 christos Exp $
 
 .include <bsd.hostinit.mk>
 
@@ -37,6 +37,7 @@
                        --with-system-zlib \
                        --without-isl \
                        --enable-__cxa_atexit \
+                       --enable-initfini-array=yes \
                        --enable-libstdcxx-time=rt \
                        --enable-libstdcxx-threads \
                        --with-diagnostics-color=auto-if-env



Home | Main Index | Thread Index | Old Index