Fix ARM compiler warning for microlib

- Remove the --library_type=micorlib from c/cxx configuration.
pull/12303/head
Rajkumar Kanagaraj 2020-01-22 07:17:08 -08:00
parent ee1d998d43
commit 6d3782accb
1 changed files with 0 additions and 4 deletions

View File

@ -581,10 +581,6 @@ class ARMC6(ARM_STD):
self.flags['common'].append("-D__MICROLIB")
if "--library_type=microlib" not in self.flags['ld']:
self.flags['ld'].append("--library_type=microlib")
if "-Wl,--library_type=microlib" not in self.flags['c']:
self.flags['c'].append("-Wl,--library_type=microlib")
if "-Wl,--library_type=microlib" not in self.flags['cxx']:
self.flags['cxx'].append("-Wl,--library_type=microlib")
if "--library_type=microlib" not in self.flags['asm']:
self.flags['asm'].append("--library_type=microlib")