diff options
Diffstat (limited to 'helpers/llvm-build')
-rwxr-xr-x | helpers/llvm-build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/llvm-build b/helpers/llvm-build index 8d2fab4..5b4f27d 100755 --- a/helpers/llvm-build +++ b/helpers/llvm-build @@ -61,10 +61,10 @@ fi ## Choose between make and ninja make=make -ninja= +generator="Unix Makefiles" if which ninja 2>&1 > /dev/null; then make=ninja - ninja="-G Ninja" + generator="Ninja" fi ## Debug mode, make it lighter @@ -83,7 +83,7 @@ cd $build_dir ## Re-run CMake file files are damaged / not there if [ ! -f build.ninja ] && [ ! -f Makefile ]; then echo " + Configuring Build" - safe_run cmake $ninja $LLVM_SRC \ + safe_run cmake -G "$generator" $LLVM_SRC \ -DCMAKE_BUILD_TYPE=$build_type \ -DLLVM_BUILD_TESTS=True \ -DLLVM_ENABLE_ASSERTIONS=True \ |