diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index a5140ccd4be902..caf0d4f98275a2 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -103,10 +103,10 @@ fi if [ "$UNAME" = "OpenBSD" ]; then vcpkgUseSystem="ON" - if [ -z "$CXX" ]; then + if [ -z ${$CXX+x} ]; then CXX=/usr/bin/clang++ fi - if [ -z "$CC" ]; then + if [ -z ${CC+x} ]; then CC=/usr/bin/clang fi fi