diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-12-15 16:57:29 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-12-15 16:57:29 +0000 |
commit | 5170fa49b2a926f2a53139c607eb249c82a0fdd9 (patch) | |
tree | 5f2d866a293989addd8c0becfa843fcff63b7362 /scripts | |
parent | f2da2fd81f1d3f43678de9cf39b12692c6fa449b (diff) | |
download | glibc-5170fa49b2a926f2a53139c607eb249c82a0fdd9.tar glibc-5170fa49b2a926f2a53139c607eb249c82a0fdd9.tar.gz glibc-5170fa49b2a926f2a53139c607eb249c82a0fdd9.tar.bz2 glibc-5170fa49b2a926f2a53139c607eb249c82a0fdd9.zip |
Correct build-many-glibcs.py arm-linux-gnueabihf configurations.
The conventional configure triplet for ARM GNU/Linux with hard-float
ABI is arm-*-linux-gnueabihf. However, GCC does not automatically use
the hard-float ABI based on that triplet. This patch fixes
build-many-glibcs.py to pass --with-float=hard so that the
arm-linux-gnueabihf configurations actually build with the intended
ABI.
Tested building the affected configurations with build-many-glibcs.py.
* scripts/build-many-glibcs.py (Context.add_all_configs): Use
--with-float=hard for arm-linux-gnueabihf configurations.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-many-glibcs.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 599e12e355..5453000df0 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -175,17 +175,19 @@ class Context(object): gcc_cfg=['--with-arch=armv7-a']) self.add_config(arch='arm', os_name='linux-gnueabihf', + gcc_cfg=['--with-float=hard'], extra_glibcs=[{'variant': 'v7a', 'ccopts': '-march=armv7-a'}, {'variant': 'v7a-disable-multi-arch', 'ccopts': '-march=armv7-a', 'cfg': ['--disable-multi-arch']}]) self.add_config(arch='armeb', - os_name='linux-gnueabihf') + os_name='linux-gnueabihf', + gcc_cfg=['--with-float=hard']) self.add_config(arch='armeb', os_name='linux-gnueabihf', variant='be8', - gcc_cfg=['--with-arch=armv7-a']) + gcc_cfg=['--with-float=hard', '--with-arch=armv7-a']) self.add_config(arch='hppa', os_name='linux-gnu') self.add_config(arch='ia64', |