aboutsummaryrefslogtreecommitdiff
path: root/scripts/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bootstrap.sh')
-rw-r--r--scripts/bootstrap.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 969d1aa95..e5503f386 100644
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -245,6 +245,17 @@ if [ "$ARCH" = "armv7l" -o "$ARCH" = "aarch64" -o "$ARCH" = "s390x" ]; then
vcpkgUseSystem=true
fi
+if [ "$UNAME" = "OpenBSD" ]; then
+ vcpkgUseSystem=true
+
+ if [ -z "$CXX" ]; then
+ CXX=/usr/bin/clang++
+ fi
+ if [ -z "$CC" ]; then
+ CC=/usr/bin/clang
+ fi
+fi
+
if $vcpkgUseSystem; then
cmakeExe="cmake"
ninjaExe="ninja"