Allowe to unflag(remove) base/initial flags using build_unflags // Resolve #559

This commit is contained in:
Ivan Kravets
2016-04-27 12:55:07 +03:00
parent a7c0e2e944
commit ab5d7f3313
4 changed files with 36 additions and 6 deletions

View File

@@ -341,6 +341,17 @@ but will be applied only for the project source code from
This option can be set by global environment variable
:envvar:`PLATFORMIO_SRC_BUILD_FLAGS`.
``build_unflags``
^^^^^^^^^^^^^^^^^
Remove base/initial flags which were set by development platform.
.. code-block:: ini
[env:unflags]
build_unflags = -Os -std=gnu++11
build_flags = -O2
.. _projectconf_src_filter:
``src_filter``