summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2017-12-27 11:54:14 -0500
committerMark Benvenuto <mark.benvenuto@mongodb.com>2017-12-27 11:54:14 -0500
commit86afc6ed8216e7b31ea6ab9c13d7bac470ee0774 (patch)
tree077892b1abdd090c00bea82fadb9565117311cc7 /site_scons
parentef6471345974d763d82b7aa2020f80eb59903b6f (diff)
downloadmongo-86afc6ed8216e7b31ea6ab9c13d7bac470ee0774.tar.gz
SERVER-32431 IDL generated code seg faults on s390x
Diffstat (limited to 'site_scons')
-rwxr-xr-xsite_scons/site_tools/idl_tool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/site_scons/site_tools/idl_tool.py b/site_scons/site_tools/idl_tool.py
index 78bedfaa74b..c0455c21100 100755
--- a/site_scons/site_tools/idl_tool.py
+++ b/site_scons/site_tools/idl_tool.py
@@ -76,7 +76,7 @@ def generate(env):
env['IDLC'] = sys.executable + " buildscripts/idl/idlc.py"
env['IDLCFLAGS'] = ''
base_dir = env.subst('$BUILD_ROOT/$VARIANT_DIR').replace("#", "")
- env['IDLCCOM'] = '$IDLC --include src --base_dir %s --header ${TARGETS[1]} --output ${TARGETS[0]} $SOURCES ' % (base_dir)
+ env['IDLCCOM'] = '$IDLC --include src --base_dir %s --target_arch $TARGET_ARCH --header ${TARGETS[1]} --output ${TARGETS[0]} $SOURCES ' % (base_dir)
env['IDLCSUFFIX'] = '.idl'