mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-15 10:47:47 -06:00
Add a PlatformIO hook to alter CXXFLAGS
This commit is contained in:
parent
23cffb2c21
commit
2aef83ddcd
2 changed files with 14 additions and 0 deletions
12
buildroot/share/PlatformIO/scripts/common-cxxflags.py
Normal file
12
buildroot/share/PlatformIO/scripts/common-cxxflags.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
#
|
||||
# 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"
|
||||
])
|
Loading…
Add table
Add a link
Reference in a new issue