Index: tools/gn/bootstrap/bootstrap.py |
diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py |
index 749ee36e72a583bf652ea4cc6b84107cd2e5302f..b86757a7b04814a5dc9fed20c345c1fa9f5b9205 100755 |
--- a/tools/gn/bootstrap/bootstrap.py |
+++ b/tools/gn/bootstrap/bootstrap.py |
@@ -299,7 +299,7 @@ def write_gn_ninja(path, root_gen_dir, options): |
# //base/allocator/allocator_extension.cc needs this macro defined, |
# otherwise there would be link errors. |
- cflags.extend(['-DNO_TCMALLOC']) |
+ cflags.extend(['-DNO_TCMALLOC', '-D__STDC_FORMAT_MACROS']) |
if is_posix: |
if options.debug: |
@@ -535,7 +535,6 @@ def write_gn_ninja(path, root_gen_dir, options): |
'base/sys_info_posix.cc', |
'base/threading/platform_thread_internal_posix.cc', |
'base/threading/platform_thread_posix.cc', |
- 'base/threading/thread_local_posix.cc', |
'base/threading/thread_local_storage_posix.cc', |
'base/threading/worker_pool_posix.cc', |
'base/time/time_posix.cc', |