]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add a comment for --enable-initfini-array [BZ #27945]
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 8 Nov 2021 15:49:11 +0000 (07:49 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 13 Nov 2021 17:50:07 +0000 (09:50 -0800)
Document that --enable-initfini-array is enabled by default in GCC 12,
which can be removed when GCC 12 becomes the minimum requirement.

scripts/build-many-glibcs.py

index e8b9b213ca69fc1d81ea1aa2cdd3aaefad6f8745..6ae2172956272b327e4dcb2162dd981a179ab35f 100755 (executable)
@@ -1445,7 +1445,9 @@ class Config(object):
         # checking support.  libcilkrts does not support GNU/Hurd (and
         # has been removed in GCC 8, so --disable-libcilkrts can be
         # removed once glibc no longer supports building with older
-        # GCC versions).
+        # GCC versions).  --enable-initfini-array is enabled by default
+        # in GCC 12, which can be removed when GCC 12 becomes the
+        # minimum requirement.
         cfg_opts = list(self.gcc_cfg)
         cfg_opts += ['--enable-initfini-array']
         cfg_opts += ['--disable-libssp', '--disable-libcilkrts']