Files
Marlin/buildroot/share/PlatformIO/scripts/common-cxxflags.py
T
InsanityAutomation 82064d2341 Clean up rebase
2020-09-03 12:03:03 -04:00

16 lines
377 B
Python

#
# common-cxxflags.py
# Convenience script to apply customizations to CPP flags
#
Import("env")
env.Append(CXXFLAGS=[
"-Wno-register"
#"-Wno-incompatible-pointer-types",
#"-Wno-unused-const-variable",
#"-Wno-maybe-uninitialized",
#"-Wno-sign-compare"
])
env_name = str(env["PIOENV"])
env.Replace(PROGNAME="%s_DW7" % (env_name))
print("Environment: %s" % (env_name))