Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling multiple times in a row fails + bugfix #4

Open
espirit opened this issue Dec 31, 2021 · 0 comments
Open

Compiling multiple times in a row fails + bugfix #4

espirit opened this issue Dec 31, 2021 · 0 comments

Comments

@espirit
Copy link

espirit commented Dec 31, 2021

When compiling multiple times in a row, the cflags and ldflags grow.
This is caused by the copy-by-reference of self.base_flags (in toolchain_stm32.py).

Change in getBuilderCFLAGS() and getBuilderLDFLAGS :
flags = self.base_flags
to:
flags = []
flags += self.base_flags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant