forked from platformio/platformio-core
Improve linker flags handling for mbed
This commit is contained in:
@@ -201,6 +201,11 @@ def parse_eix_file(filename):
|
|||||||
result[key].append(
|
result[key].append(
|
||||||
node.get(_nkeys[0]) if len(_nkeys) == 1 else node.attrib)
|
node.get(_nkeys[0]) if len(_nkeys) == 1 else node.attrib)
|
||||||
|
|
||||||
|
if "LINKFLAGS" in result:
|
||||||
|
for i, f in enumerate(result["LINKFLAGS"]):
|
||||||
|
if f.startswith("-u "):
|
||||||
|
result["LINKFLAGS"][i] = result["LINKFLAGS"][i].split(" ")
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user