Skip to content

Commit 6d3782a

Browse files
committed
Fix ARM compiler warning for microlib
- Remove the --library_type=micorlib from c/cxx configuration.
1 parent ee1d998 commit 6d3782a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tools/toolchains/arm.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -581,10 +581,6 @@ def __init__(self, target, *args, **kwargs):
581581
self.flags['common'].append("-D__MICROLIB")
582582
if "--library_type=microlib" not in self.flags['ld']:
583583
self.flags['ld'].append("--library_type=microlib")
584-
if "-Wl,--library_type=microlib" not in self.flags['c']:
585-
self.flags['c'].append("-Wl,--library_type=microlib")
586-
if "-Wl,--library_type=microlib" not in self.flags['cxx']:
587-
self.flags['cxx'].append("-Wl,--library_type=microlib")
588584
if "--library_type=microlib" not in self.flags['asm']:
589585
self.flags['asm'].append("--library_type=microlib")
590586

0 commit comments

Comments
 (0)