[PATCH 1/2] SCONS: Fixed issue with builds not working on 32 bit Linux


Frank Quinn <fquinn.ni@...>
 

Added i686 and a few other similar ancestors for good measure.

Signed-off-by: Frank Quinn <fquinn.ni@...>
---
 site_scons/community/command_line.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site_scons/community/command_line.py b/site_scons/community/command_line.py
index 4bbacc5..1f7f278 100644
--- a/site_scons/community/command_line.py
+++ b/site_scons/community/command_line.py
@@ -65,7 +65,7 @@ def get_command_line_opts( host, products, VERSIONS ):
                          #mamda all is a windows only build
                          allowed_values=( [ x for x in products if x != "mamdaall" ] )),
             EnumVariable('target_arch', 'Specifies if the build should target 32 or 64 bit architectures.',
-                          host['arch'], allowed_values=['x86', 'x86_64']),
+                          host['arch'], allowed_values=['i386', 'i586', 'i686', 'x86', 'x86_64']),
             EnumVariable( 'compiler', 'Compiler to use for building OpenMAMA',
                          'default', allowed_values=('default', 'gcc', 'clang', 'clang-analyzer')),
         )
--
2.4.3

Join Openmama-dev@lists.openmama.org to automatically receive all group messages.