diff --git a/src/tools/gcc.lua b/src/tools/gcc.lua index 86ae00c4..8c2d0128 100755 --- a/src/tools/gcc.lua +++ b/src/tools/gcc.lua @@ -47,7 +47,10 @@ -- Returns list of C compiler flags for a configuration. -- gcc.shared = { - + floatingpoint = { + Fast = "-ffast-math", + Strict = "-ffloat-store", + } } gcc.cflags = { @@ -80,10 +83,6 @@ ShadowedVariables = "-Wshadow", UndefinedIdentifiers = "-Wundef", }, - floatingpoint = { - Fast = "-ffast-math", - Strict = "-ffloat-store", - }, strictaliasing = { Off = "-fno-strict-aliasing", Level1 = { "-fstrict-aliasing", "-Wstrict-aliasing=1" }, @@ -259,10 +258,6 @@ ShadowedVariables = "-Wshadow", UndefinedIdentifiers = "-Wundef", }, - floatingpoint = { - Fast = "-ffast-math", - Strict = "-ffloat-store", - }, strictaliasing = { Off = "-fno-strict-aliasing", Level1 = { "-fstrict-aliasing", "-Wstrict-aliasing=1" },