head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.08.31.18.05.08; author wiz; state Exp; branches; next ; commitid XF9bx6IMvLxTJOTG; desc @@ 1.1 log @gcc16*: when ld supports --as-needed, gcc uses it However, this is not fully working in NetBSD's ld. Disable it for now until this is fixed. Bump PKGREVISION. @ text @$NetBSD$ NetBSD ld supports --as-needed, but not -lgcc_s_asneeded. --- gcc/configure.orig 2026-08-31 17:46:27.753488730 +0000 +++ gcc/configure @@@@ -33278,6 +33278,9 @@@@ elif test x$gcc_cv_ld != x; then gcc_cv_ld_no_as_needed_option="-z record" gcc_cv_ld_use_as_needed_ldscript=no ;; + *-*-netbsd*:*) + gcc_cv_ld_use_as_needed_ldscript=no + ;; esac fi @