Build: Enable big object only on Windows

This commit is contained in:
Jérôme Leclercq 2016-11-07 01:10:17 +01:00
parent 5d4595e9d6
commit 2f11529669
1 changed files with 3 additions and 3 deletions

View File

@ -747,9 +747,6 @@ end
function NazaraBuild:PrepareMainWorkspace()
self:PrepareGeneric()
filter(clangGccActions)
buildoptions("-Wa,-mbig-obj") -- big object
filter("action:vs*")
buildoptions({"/MP", "/bigobj"}) -- Multiprocessus build and big .obj
defines("_CRT_SECURE_NO_WARNINGS")
@ -767,6 +764,9 @@ function NazaraBuild:PrepareMainWorkspace()
filter("kind:*Lib")
defines("NAZARA_BUILD")
filter({"system:Windows", clangGccActions})
buildoptions("-Wa,-mbig-obj") -- big object
filter({"system:not Windows", clangGccActions})
buildoptions("-fvisibility=hidden")