{"action":"closed","issue":{"url":"https://api.github.com/repos/platformio/platformio-core/issues/1770","repository_url":"https://api.github.com/repos/platformio/platformio-core","labels_url":"https://api.github.com/repos/platformio/platformio-core/issues/1770/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platformio-core/issues/1770/comments","events_url":"https://api.github.com/repos/platformio/platformio-core/issues/1770/events","html_url":"https://github.com/platformio/platformio-core/issues/1770","id":345120737,"node_id":"MDU6SXNzdWUzNDUxMjA3Mzc=","number":1770,"title":"Duplicated options if set via `build_flags`","user":{"login":"puzrin","id":319465,"node_id":"MDQ6VXNlcjMxOTQ2NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/319465?v=4","gravatar_id":"","url":"https://api.github.com/users/puzrin","html_url":"https://github.com/puzrin","followers_url":"https://api.github.com/users/puzrin/followers","following_url":"https://api.github.com/users/puzrin/following{/other_user}","gists_url":"https://api.github.com/users/puzrin/gists{/gist_id}","starred_url":"https://api.github.com/users/puzrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puzrin/subscriptions","organizations_url":"https://api.github.com/users/puzrin/orgs","repos_url":"https://api.github.com/users/puzrin/repos","events_url":"https://api.github.com/users/puzrin/events{/privacy}","received_events_url":"https://api.github.com/users/puzrin/received_events","type":"User","site_admin":false},"labels":[{"id":470858743,"node_id":"MDU6TGFiZWw0NzA4NTg3NDM=","url":"https://api.github.com/repos/platformio/platformio-core/labels/moved","name":"moved","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-27T07:31:28Z","updated_at":"2018-07-28T10:11:55Z","closed_at":"2018-07-28T10:11:55Z","author_association":"NONE","body":"### Configuration\r\n\r\n**Operating system**: Ubuntu 14.04\r\n\r\n**PlatformIO Version** (`platformio --version`): 3.6.0a10\r\n\r\n### Description of problem\r\n\r\nSome build flags are duplicated if defined via `build_flags` option.\r\n\r\n#### Steps to Reproduce\r\n\r\n1. Add this lines to `platformio.ini`\r\n\r\n```\r\nbuild_flags =\r\n  -Werror\r\n  --specs=rdimon.specs\r\n```\r\n\r\n2. Execute `pio run -v`\r\n\r\n### Actual Results\r\n\r\nEvery flag from example passed twice to CLI line\r\n\r\n### Expected Results\r\n\r\nExpect each flag only once in CLI line\r\n\r\n### If problems with PlatformIO Build System:\r\n\r\n**The content of `platformio.ini`:**\r\n```ini\r\n[platformio]\r\ndescription = Grinder speed control firmware, with BackEMF speed stabilization\r\nenv_default = genericSTM32F103C8\r\n\r\n[env:genericSTM32F103C8]\r\nplatform = ststm32@~4.3.1\r\nboard = genericSTM32F103C8\r\nframework = stm32cube\r\nbuild_flags =\r\n  -Werror\r\n  --specs=rdimon.specs\r\n  -lrdimon\r\n  -lc\r\n; Add thhis path for local files only, to use pio's `stm32f1xx_hal_conf.h`\r\n; in bootstrap\r\nsrc_build_flags =\r\n  -I lib/stm32cubemx_init/Inc\r\nlib_archive = false\r\nlib_deps = stm32cubemx_init\r\ndebug_tool = stlink\r\n```\r\n"}}
{"actor":{"display_login":"ivankravets"}}