forked from platformio/platformio-core
Allowe to unflag(remove) base/initial flags using build_unflags // Resolve #559
This commit is contained in:
1 parent
a7c0e2e944
commit
ab5d7f3313
4 files changed
+36
-6
No files matched your search
@@ -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