forked from platformio/platformio-core
Add missing build flag to reduce code size for atmelsam // Resolve #599
This commit is contained in:
@ -95,6 +95,10 @@ else:
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CXXFLAGS=[
|
||||
"-fno-threadsafe-statics"
|
||||
],
|
||||
|
||||
CPPDEFINES=[
|
||||
"USBCON",
|
||||
'USB_MANUFACTURER="PlatformIO"'
|
||||
@ -124,10 +128,6 @@ elif "zero" in env.subst("$BOARD"):
|
||||
"--param", "max-inline-insns-single=500"
|
||||
],
|
||||
|
||||
CXXFLAGS=[
|
||||
"-fno-threadsafe-statics"
|
||||
],
|
||||
|
||||
LINKFLAGS=[
|
||||
"--specs=nosys.specs",
|
||||
"--specs=nano.specs"
|
||||
|
Reference in New Issue
Block a user