Browse Source

[build] Fixed LLVM compilation script Lua syntax bug.

pull/843/head
Joao Matos 8 years ago
parent
commit
b28f766d8d
  1. 2
      build/scripts/LLVM.lua

2
build/scripts/LLVM.lua

@ -278,7 +278,7 @@ function build_llvm(llvm_build) @@ -278,7 +278,7 @@ function build_llvm(llvm_build)
"-DLLVM_ENABLE_LIBCXX=true" or ""
local is32bits = target_architecture() == "x86"
if is32bits then
options = options .. is32bits and " -DLLVM_BUILD_32_BITS=true" or ""
options = options .. (is32bits and " -DLLVM_BUILD_32_BITS=true" or "")
end
cmake("Ninja", conf, llvm_build, options)
ninja(llvm_build)

Loading…
Cancel
Save