Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
build_unflags does not apply to linker commands #698
What kind of issue is this?
Operating system: Linux stm32dev-VirtualBox 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:25:16 UTC 2016 i686 athlon i686 GNU/Linux
PlatformIO Version (
Description of problem
The build_unflags directive does not apply to the generated linker command. For example, when using the ststm32 platform the default flags '-nostartfiles' and '-nostdlib' are not removed when the configuration file contains 'build_unflags= -nostdlib -nostartfiles'
Steps to Reproduce
Compile any project using a platformio.ini file containing;
the following linker command is generated
The above linker command without the
Please re-test the latest http://docs.platformio.org/en/latest/installation.html#development-version