Module Name:    src
Committed By:   christos
Date:           Fri May  7 23:00:04 UTC 2021

Modified Files:
        src/tools/binutils: Makefile
        src/tools/gcc: Makefile

Log Message:
enable initfini-array since all platforms support it.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/tools/binutils/Makefile
cvs rdiff -u -r1.102 -r1.103 src/tools/gcc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/binutils/Makefile
diff -u src/tools/binutils/Makefile:1.31 src/tools/binutils/Makefile:1.32
--- src/tools/binutils/Makefile:1.31	Fri Apr  3 20:47:30 2020
+++ src/tools/binutils/Makefile	Fri May  7 19:00:04 2021
@@ -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 @@ BRANDING?=	\
 
 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 @@ native-binutils: .native/.configure_done
 			--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; \

Index: src/tools/gcc/Makefile
diff -u src/tools/gcc/Makefile:1.102 src/tools/gcc/Makefile:1.103
--- src/tools/gcc/Makefile:1.102	Sun Apr 11 19:55:47 2021
+++ src/tools/gcc/Makefile	Fri May  7 19:00:04 2021
@@ -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 @@ COMMON_CONFIGURE_ARGS=	--target=${MACHIN
 			--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

Reply via email to