mirror of
https://github.com/platformio/platformio-core.git
synced 2025-10-27 20:21:39 +01:00
Allowe to unflag(remove) base/initial flags using build_unflags // Resolve #559
This commit is contained in:
@@ -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``
|
||||
|
||||
Reference in New Issue
Block a user