summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authormarcelofg55 <marcelofg55@gmail.com>2016-05-20 17:31:30 -0300
committermarcelofg55 <marcelofg55@gmail.com>2016-05-20 17:31:30 -0300
commiteeb83982e2eb4b70e43d45f9fdfe5a54f08576eb (patch)
tree7600031ef839c0508f3f3a413e8762bc655ea697 /SConstruct
parentbc8df8feaafd4e9ce0daa383f772ff111073c672 (diff)
Added 'fat' option for bits param on scons for osx, this will produce a fat binary that contains both 32 bits and 64 bits binaries
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 3ea40489be..8a3a7c4565 100644
--- a/SConstruct
+++ b/SConstruct
@@ -117,7 +117,7 @@ if profile:
opts=Variables(customs, ARGUMENTS)
opts.Add('target', 'Compile Target (debug/release_debug/release).', "debug")
-opts.Add('bits', 'Compile Target Bits (default/32/64).', "default")
+opts.Add('bits', 'Compile Target Bits (default/32/64/fat).', "default")
opts.Add('platform','Platform: '+str(platform_list)+'.',"")
opts.Add('p','Platform (same as platform=).',"")
opts.Add('tools','Build Tools (Including Editor): (yes/no)','yes')
@@ -276,6 +276,8 @@ if selected_platform in platform_list:
suffix+=".32"
elif (env["bits"]=="64"):
suffix+=".64"
+ elif (env["bits"]=="fat"):
+ suffix+=".fat"
suffix+=env.extra_suffix