Skip to content

Commit 0c7ec77

Browse files
PrzemekWirkus0xc0170
authored andcommitted
Added fix for duplicate -D compiler symbols
1 parent 24cc331 commit 0c7ec77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workspace_tools/toolchains/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def get_symbols(self):
287287
if hasattr(self.target, 'supported_form_factors'):
288288
self.symbols.extend(["TARGET_FF_%s" % t for t in self.target.supported_form_factors])
289289

290-
return self.symbols
290+
return list(set(self.symbols)) # Return only unique symbols
291291

292292
def get_labels(self):
293293
if self.labels is None:

0 commit comments

Comments
 (0)