diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-05-03 17:26:03 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-05-03 17:26:03 -0700 |
commit | c9cf387c035f8e48de03846947b2fcb53f8e3106 (patch) | |
tree | a102b5052b8d87cd8d9bbbab493079aa10b49cc9 /tools/shared.py | |
parent | 3ec1a85e32050de3cd8121c6b04b7e2ae6be78b1 (diff) |
define proper endianness for endian.h and add working but slow-compiling sha1 test
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index 9cba8b01..c864f623 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -182,7 +182,7 @@ except: # Force a simple, standard target as much as possible: target 32-bit linux, and disable various flags that hint at other platforms COMPILER_OPTS = COMPILER_OPTS + ['-m32', '-U__i386__', '-U__x86_64__', '-U__i386', '-U__x86_64', '-U__SSE__', '-U__SSE2__', '-U__MMX__', '-UX87_DOUBLE_ROUNDING', '-UHAVE_GCC_ASM_FOR_X87', '-DEMSCRIPTEN', '-U__STRICT_ANSI__', '-U__CYGWIN__', - '-D__STDC__', '-Xclang', '-triple=i386-pc-linux-gnu'] + '-D__STDC__', '-Xclang', '-triple=i386-pc-linux-gnu', '-D__IEEE_LITTLE_ENDIAN'] USE_EMSDK = not os.environ.get('EMMAKEN_NO_SDK') |