aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-11-08 07:49:11 -0800
committerH.J. Lu <hjl.tools@gmail.com>2021-11-13 09:50:07 -0800
commitcbcd65c8b526555d9b98628338973f91f74002ad (patch)
tree53ba6170cfc849ae2c5e1ea19cd41ec166795fc2 /scripts
parentafbf26492a5adccc4c4eda00eb588b0b79e4290a (diff)
downloadglibc-cbcd65c8b526555d9b98628338973f91f74002ad.zip
glibc-cbcd65c8b526555d9b98628338973f91f74002ad.tar.gz
glibc-cbcd65c8b526555d9b98628338973f91f74002ad.tar.bz2
Add a comment for --enable-initfini-array [BZ #27945]
Document that --enable-initfini-array is enabled by default in GCC 12, which can be removed when GCC 12 becomes the minimum requirement.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-many-glibcs.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index e8b9b21..6ae2172 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -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']