aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-10 21:05:07 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-21 10:47:40 -0800
commitea72b923bf5419de8e948a44387e55eea657f9f4 (patch)
tree9d64bed0e7bd1802a6136517946804e5d1a3d4e5 /tests/runner.py
parent998e00134b593e4f503d837cddf9fd9f26980a99 (diff)
make -fno-math-errno the default
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 568ea798..b5c819ec 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -279,7 +279,7 @@ process(sys.argv[1])
return ret
def build_native(self, filename):
- process = Popen([CLANG, '-O2', filename, '-o', filename+'.native'], stdout=PIPE);
+ process = Popen([CLANG, '-O2', '-fno-math-errno', filename, '-o', filename+'.native'], stdout=PIPE);
output = process.communicate()
if process.returncode is not 0:
print >> sys.stderr, "Building native executable with command '%s' failed with a return code %d!" % (' '.join([CLANG, '-O2', filename, '-o', filename+'.native']), process.returncode)