aboutsummaryrefslogtreecommitdiff
path: root/tools/emmaken.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2011-02-27 16:54:21 -0800
committerAlon Zakai <azakai@mozilla.com>2011-02-27 16:54:21 -0800
commit40ab3e284734cd54a4e1342cdd8df483b32078d4 (patch)
tree984f4bfe85a6dda7a203328dfc70d793a747a2f5 /tools/emmaken.py
parent26ab22af91138dcad765cef82d312c99914b5093 (diff)
debugging info and test runner fixes
Diffstat (limited to 'tools/emmaken.py')
-rwxr-xr-xtools/emmaken.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/emmaken.py b/tools/emmaken.py
index 3590f86b..b860bacb 100755
--- a/tools/emmaken.py
+++ b/tools/emmaken.py
@@ -55,11 +55,14 @@ try:
CC = to_cc(CXX)
CC_ARG_SKIP = ['-O1', '-O2', '-O3']
- CC_ADDITIONAL_ARGS = ['-m32', '-U__i386__', '-U__x86_64__', '-UX87_DOUBLE_ROUNDING', '-UHAVE_GCC_ASM_FOR_X87']
+ CC_ADDITIONAL_ARGS = ['-m32', '-U__i386__', '-U__x86_64__', '-U__SSE__', '-UX87_DOUBLE_ROUNDING', '-UHAVE_GCC_ASM_FOR_X87']
ALLOWED_LINK_ARGS = ['-f', '-help', '-o', '-print-after', '-print-after-all', '-print-before',
'-print-before-all', '-time-passes', '-v', '-verify-dom-info', '-version' ]
DISALLOWED_LINK_ARGS = []#['rc']
+ EMMAKEN_CFLAGS = os.environ.get('EMMAKEN_CFLAGS')
+ if EMMAKEN_CFLAGS: CC_ADDITIONAL_ARGS += EMMAKEN_CFLAGS.split(' ')
+
# ---------------- End configs -------------
if len(sys.argv) == 2 and 'conftest' not in ' '.join(sys.argv): # Avoid messing with configure, see below too