mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
CI fix.
This commit is contained in:
committed by
Branimir Karadžić
parent
d800537433
commit
cc5a21ef3d
@@ -346,6 +346,14 @@ function toolchain(_buildDir, _libDir)
|
||||
location (path.join(_buildDir, "projects", _ACTION .. "-mingw-gcc"))
|
||||
|
||||
elseif "mingw-clang" == _OPTIONS["gcc"] then
|
||||
if not os.getenv("MINGW") then
|
||||
print("Set MINGW environment variable.")
|
||||
end
|
||||
|
||||
if not os.getenv("CLANG") then
|
||||
print("Set CLANG environment variable.")
|
||||
end
|
||||
|
||||
premake.gcc.cc = "$(CLANG)/bin/clang"
|
||||
premake.gcc.cxx = "$(CLANG)/bin/clang++"
|
||||
premake.gcc.ar = "$(MINGW)/bin/ar"
|
||||
@@ -653,6 +661,7 @@ function toolchain(_buildDir, _libDir)
|
||||
"-isystem $(MINGW)/lib/gcc/x86_64-w64-mingw32/4.8.1/include/c++",
|
||||
"-isystem $(MINGW)/lib/gcc/x86_64-w64-mingw32/4.8.1/include/c++/x86_64-w64-mingw32",
|
||||
"-isystem $(MINGW)/x86_64-w64-mingw32/include",
|
||||
"-Wno-nan-infinity-disabled",
|
||||
}
|
||||
linkoptions {
|
||||
"-Qunused-arguments",
|
||||
|
||||
Reference in New Issue
Block a user