diff --git a/build/premake4.lua b/build/premake4.lua index a5cf9425a..10c9e760e 100644 --- a/build/premake4.lua +++ b/build/premake4.lua @@ -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 \ No newline at end of file + end diff --git a/build/premake4_linux b/build/premake4_linux old mode 100644 new mode 100755 diff --git a/build/premake4_linux64 b/build/premake4_linux64 old mode 100644 new mode 100755