From 889106af4d8381ac188a6532625e2c642150220f Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 12 Jun 2021 15:53:20 +0200 Subject: Limit number of threads --- cppbuild.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cppbuild.cc') diff --git a/cppbuild.cc b/cppbuild.cc index d7c0537..77ed1f3 100644 --- a/cppbuild.cc +++ b/cppbuild.cc @@ -1,5 +1,6 @@ #if 0 -if [ "cppbuild" -ot "$0" ]; then +if [ "cppbuild" -ot "$0" ] +then echo "Rebuilding cppbuild" g++ -std=c++17 -pthread $0 libcppbuild.a -o cppbuild [ $? != 0 ] && exit 1 -- cgit v1.2.3