summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-09-24 18:06:14 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-09-24 21:47:42 +0200
commitef7ab06044c155e4728e5e30e3262de2bb40cb29 (patch)
tree3277f3c95f36565c960c968c1bd9ec8e4d63c9e2 /bootstrap.sh
parentecfc610acff6a9359ae5e7f0b225c5b26b189591 (diff)
Fix re-compilation of library itself after boostrap. Add support for supplying libctor lib and include paths.
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 833d3be..815c12f 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
echo "Bootstrapping..."
-g++ -std=c++17 -I. -Isrc -pthread src/*.cc ctor.cc test/ctor.cc -o ctor && \
+g++ -std=c++17 -O3 -Isrc -pthread src/*.cc ctor.cc test/ctor.cc -o ctor && \
echo "Done. Now run ./ctor to build."