aboutsummaryrefslogtreecommitdiff
path: root/tests/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SConscript')
-rw-r--r--tests/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/SConscript b/tests/SConscript
index cec8d697c2..69c09caa02 100644
--- a/tests/SConscript
+++ b/tests/SConscript
@@ -45,6 +45,9 @@ for v in variables:
new_options.Add(v)
vars.Add(v)
+# Disable floating-point expression contraction (e.g. fused multiply-add operations)
+env.Append(CXXFLAGS = ['-ffp-contract=off'])
+
# Clone the environment to make sure we're not polluting the arm_compute one:
test_env = env.Clone()
vars.Update(test_env)