From 690dee040513f364b570b8906b3ca08627bed4e7 Mon Sep 17 00:00:00 2001 From: Sam Surtees Date: Mon, 10 Apr 2017 01:41:18 +1000 Subject: [PATCH] Fixed issue with Clang not actually supporting floatingpoint 'strict' --- src/tools/clang.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tools/clang.lua b/src/tools/clang.lua index 282f7d28..2928fcb5 100644 --- a/src/tools/clang.lua +++ b/src/tools/clang.lua @@ -44,7 +44,9 @@ clang.shared = { architecture = gcc.shared.architecture, flags = gcc.shared.flags, - floatingpoint = gcc.shared.floatingpoint, + floatingpoint = { + Fast = "-ffast-math", + }, strictaliasing = gcc.shared.strictaliasing, optimize = { Off = "-O0",