]> sourceware.org Git - glibc.git/commitdiff
Actually use newly built host libraries in build-many-glibcs.py.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 17 Nov 2016 17:45:41 +0000 (17:45 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 17 Nov 2016 17:45:41 +0000 (17:45 +0000)
This patch adds the missing GCC configure options required to make use
of the newly built host libraries in build-many-glibcs.py.

* scripts/build-many-glibcs.py (Config.build_gcc): Configure with
newly built gmp, mpfr and mpc.

ChangeLog
scripts/build-many-glibcs.py

index d3b484484498623b0c246f470648fea39fd80afe..721ea68d24fb1a3df0145cfbd9082bbd337487eb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
 
+       * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
+       newly built gmp, mpfr and mpc.
+
        * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
 
 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
index be561c34305af40586a9982ff884920ab6123f86..b0e0f5e8ef2dd8331e94a238d55ada33b7bb275b 100755 (executable)
@@ -813,6 +813,10 @@ class Config(object):
         # relevance with glibc's own stack checking support.
         cfg_opts = list(self.gcc_cfg)
         cfg_opts += ['--disable-libsanitizer', '--disable-libssp']
+        host_libs = self.ctx.host_libraries_installdir
+        cfg_opts += ['--with-gmp=%s' % host_libs,
+                     '--with-mpfr=%s' % host_libs,
+                     '--with-mpc=%s' % host_libs]
         if bootstrap:
             tool_build = 'gcc-first'
             # Building a static-only, C-only compiler that is
This page took 0.166349 seconds and 5 git commands to generate.