mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #8577 from lassebm/fix-makefile-export-with-python-3
Fix Makefile export with Python 3pull/8624/head
commit
48bb1a54f0
|
@ -165,7 +165,7 @@ class Makefile(Exporter):
|
|||
flags = {}
|
||||
for k, v in self.flags.items():
|
||||
if k in ['c_flags', 'cxx_flags']:
|
||||
flags[k] = map(lambda x: x.replace('"', '\\"'), v)
|
||||
flags[k] = list(map(lambda x: x.replace('"', '\\"'), v))
|
||||
else:
|
||||
flags[k] = v
|
||||
|
||||
|
|
Loading…
Reference in New Issue