Browse Source

Improve error handling in build scripts `UseClang()`.

pull/1162/merge
Joao Matos 6 years ago
parent
commit
b4f7459531
  1. 2
      build/Helpers.lua

2
build/Helpers.lua

@ -204,7 +204,7 @@ function StaticLinksOpt(libnames) @@ -204,7 +204,7 @@ function StaticLinksOpt(libnames)
end
function UseClang()
local compiler = os.getenv("CXX")
local compiler = os.getenv("CXX") or ""
return string.match(compiler, "clang")
end

Loading…
Cancel
Save