From 0aa7c978741262e19de14e0768a1e1b0e97531ab Mon Sep 17 00:00:00 2001 From: erwincoumans Date: Wed, 13 Mar 2013 17:38:16 -0700 Subject: [PATCH] always build 64bit under Linux 64bit system, rather then 32bit --- build/premake4.lua | 12 ++++++++++-- build/premake4_linux | Bin build/premake4_linux64 | Bin 3 files changed, 10 insertions(+), 2 deletions(-) mode change 100644 => 100755 build/premake4_linux mode change 100644 => 100755 build/premake4_linux64 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