aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xscripts/build-many-glibcs.py1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 628540538b..b3f9de28ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-12-16 Joseph Myers <joseph@codesourcery.com>
+
+ * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
+ before calling execv.
+
2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
[BZ# 20971]
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index a5f71199bb..94017096b5 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -93,6 +93,7 @@ class Context(object):
def exec_self(self):
"""Re-execute this script with the same arguments."""
+ sys.stdout.flush()
os.execv(sys.executable, [sys.executable] + sys.argv)
def get_build_triplet(self):