summaryrefslogtreecommitdiff
path: root/cppbuild.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-12 15:53:20 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-12 15:57:07 +0200
commit889106af4d8381ac188a6532625e2c642150220f (patch)
treef8c72a302cfd06b2f63a86fbd633fbdf9848caba /cppbuild.cc
parent4fad20f754c754b6bd1cacadc3016babb3188bcf (diff)
Limit number of threads
Diffstat (limited to 'cppbuild.cc')
-rw-r--r--cppbuild.cc3
1 files changed, 2 insertions, 1 deletions
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