From 702befcaafe658291f1f6ca2ec6293dbcdac5bbb Mon Sep 17 00:00:00 2001 From: Shinichiro Hamaji Date: Wed, 27 Jan 2016 17:21:39 +0900 Subject: [C++] Re-invent C++11-ish thread library Android's build system uses -static to build ckati, and you cannot use C++11's threading library with -static. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52590 --- Makefile.ckati | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.ckati') diff --git a/Makefile.ckati b/Makefile.ckati index f35824b..18ed906 100644 --- a/Makefile.ckati +++ b/Makefile.ckati @@ -23,6 +23,7 @@ KATI_BIN_PATH ?= . KATI_CXX_SRCS := \ command.cc \ + condvar.cc \ dep.cc \ eval.cc \ exec.cc \ @@ -36,6 +37,7 @@ KATI_CXX_SRCS := \ io.cc \ log.cc \ main.cc \ + mutex.cc \ ninja.cc \ parser.cc \ regen.cc \ @@ -47,6 +49,7 @@ KATI_CXX_SRCS := \ strutil.cc \ symtab.cc \ thread.cc \ + thread_pool.cc \ timeutil.cc \ var.cc -- cgit v1.2.3