🔨 Single precision float
This commit is contained in:
@@ -19,7 +19,6 @@ if __name__ == "__main__":
|
||||
"-fsigned-char",
|
||||
"-fno-move-loop-invariants",
|
||||
"-fno-strict-aliasing",
|
||||
"-fsingle-precision-constant",
|
||||
|
||||
"--specs=nano.specs",
|
||||
"--specs=nosys.specs",
|
||||
|
||||
@@ -14,7 +14,7 @@ if pioutil.is_pio_build():
|
||||
# "-Wno-sign-compare",
|
||||
"-fno-sized-deallocation"
|
||||
]
|
||||
if "teensy" not in env["PIOENV"]:
|
||||
if "teensy" not in env["PIOENV"] and "esp32" not in env["PIOENV"]:
|
||||
cxxflags += ["-Wno-register"]
|
||||
env.Append(CXXFLAGS=cxxflags)
|
||||
env.Append(CFLAGS=["-Wno-implicit-function-declaration"])
|
||||
|
||||
Reference in New Issue
Block a user