always build 64bit under Linux 64bit system, rather then 32bit

This commit is contained in:
erwincoumans
2013-03-13 17:38:16 -07:00
parent 2d6fe82fe0
commit 0aa7c97874
3 changed files with 10 additions and 2 deletions

View File

@@ -27,7 +27,15 @@
defines {"_DEBUG=1"}
flags { "Symbols", "StaticRuntime" , "NoMinimalRebuild", "NoEditAndContinue" ,"FloatFast"}
platforms {"x32", "x64"}
if os.is("Linux") then
if os.is64bit() then
platforms {"x64"}
else
platforms {"x32"}
end
else
platforms {"x32", "x64"}
end
configuration {"x32"}
targetsuffix ("_" .. act)
@@ -101,4 +109,4 @@
end
end

0
build/premake4_linux Normal file → Executable file
View File

0
build/premake4_linux64 Normal file → Executable file
View File