Fixed MinGW build options.

This commit is contained in:
Branimir Karadžić
2015-03-18 20:38:48 -07:00
parent 0b1f41d69d
commit 46dbea9f60

View File

@@ -298,12 +298,12 @@ function toolchain(_buildDir, _libDir)
premake.vstudio.toolset = ("v110_xp")
location (path.join(_buildDir, "projects", _ACTION .. "-xp"))
end
if ("vs2013-xp") == _OPTIONS["vs"] then
premake.vstudio.toolset = ("v120_xp")
location (path.join(_buildDir, "projects", _ACTION .. "-xp"))
end
elseif _ACTION == "xcode4" then
if "osx" == _OPTIONS["xcode"] then
@@ -414,7 +414,7 @@ function toolchain(_buildDir, _libDir)
defines { "WIN32" }
includedirs { path.join(bxDir, "include/compat/mingw") }
buildoptions {
"-std=c++11",
"-std=c++0x",
"-Wunused-value",
"-fdata-sections",
"-ffunction-sections",