]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
build-many-glibcs.py: Add glibcs-arm-linux-gnueabihf-thumb
authorFlorian Weimer <fweimer@redhat.com>
Fri, 9 Jul 2021 08:59:22 +0000 (10:59 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 9 Jul 2021 08:59:22 +0000 (10:59 +0200)
Previously, there was no thumb variant, despite that building
glibc in Thumb-2 mode is supported.

scripts/build-many-glibcs.py

index 243323b1cea750b30e1871458d70e308c1a7e3b2..6643bb6e92879e10c9fbfc9c2c660a8e6d30efb0 100755 (executable)
@@ -188,6 +188,9 @@ class Context(object):
                         gcc_cfg=['--with-float=hard', '--with-cpu=arm926ej-s'],
                         extra_glibcs=[{'variant': 'v7a',
                                        'ccopts': '-march=armv7-a -mfpu=vfpv3'},
+                                      {'variant': 'thumb',
+                                       'ccopts':
+                                       '-mthumb -march=armv7-a -mfpu=vfpv3'},
                                       {'variant': 'v7a-disable-multi-arch',
                                        'ccopts': '-march=armv7-a -mfpu=vfpv3',
                                        'cfg': ['--disable-multi-arch']}])