diff --git a/HISTORY.rst b/HISTORY.rst index bcd86676..4ba4ee4d 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -7,6 +7,8 @@ PlatformIO 2.0 2.8.5 (2016-02-??) ~~~~~~~~~~~~~~~~~~ +* Improved handling of String-based ``CPPDEFINES`` passed to extra ``build_flags`` + (`issue #526 `_) * Fixed issue with incorrect handling of user's build flags where the base flags were passed after user's flags to GCC compiler (`issue #528 `_) diff --git a/platformio/builder/tools/platformio.py b/platformio/builder/tools/platformio.py index 32418b50..94c8ecc4 100644 --- a/platformio/builder/tools/platformio.py +++ b/platformio/builder/tools/platformio.py @@ -100,7 +100,6 @@ def ProcessFlags(env, flags): if not f: continue parsed_flags = env.ParseFlags(str(f)) - print parsed_flags for flag in parsed_flags.pop("CPPDEFINES"): if not isinstance(flag, list): env.Append(CPPDEFINES=flag)