Browse Source

🔨 Fix older GCC CXXFLAGS warning

vanilla_fb_2.0.x
Scott Lahteine 3 years ago
parent
commit
30158424e9
  1. 9
      buildroot/share/PlatformIO/scripts/common-cxxflags.py

9
buildroot/share/PlatformIO/scripts/common-cxxflags.py

@ -3,13 +3,16 @@
# Convenience script to apply customizations to CPP flags
#
Import("env")
env.Append(CXXFLAGS=[
"-Wno-register"
cxxflags = [
#"-Wno-incompatible-pointer-types",
#"-Wno-unused-const-variable",
#"-Wno-maybe-uninitialized",
#"-Wno-sign-compare"
])
]
if "teensy" not in env['PIOENV']:
cxxflags += ["-Wno-register"]
env.Append(CXXFLAGS=cxxflags)
#
# Add CPU frequency as a compile time constant instead of a runtime variable

Loading…
Cancel
Save