From b6e6f473abea37ab5855fc56da9e9bb0196f9ea2 Mon Sep 17 00:00:00 2001 From: J Reece Wilson Date: Sat, 17 Dec 2022 23:16:19 +0000 Subject: [PATCH] fucking shit generator doesnt even support clang after all this fucking time. yes im using bugs these dumb cunts didnt catch, namely member over property access from a subclass, to fix hopelessly mixed up compiler family flags --- src/tools/gcc.lua | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) 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" },