diff --git a/tools/platformio-build.py b/tools/platformio-build.py index ff47ceff7c11843a31c140fe3aaa9c4f9a576c2d..75b889c2a39ecede6e6309a00fef162867b51f66 100644 --- a/tools/platformio-build.py +++ b/tools/platformio-build.py @@ -48,7 +48,7 @@ env.Prepend( "-Wno-error=unused-function", "-Wno-unused-parameter", "-Wno-sign-compare", -# "-fstack-protector" + "-fstack-protector" ], CPPPATH=[ @@ -173,7 +173,7 @@ libs.append(envsafe.BuildLibrary( join(FRAMEWORK_DIR, "cores", env.BoardConfig().get("build.core")) )) -env.Prepend(LIBS=libs) +env.Append(LIBS=libs) # # Generate partition table