mirror of https://github.com/ARMmbed/mbed-os.git
Fix ARM compiler warning for microlib
- Remove the --library_type=micorlib from c/cxx configuration.pull/12303/head
parent
ee1d998d43
commit
6d3782accb
|
@ -581,10 +581,6 @@ class ARMC6(ARM_STD):
|
||||||
self.flags['common'].append("-D__MICROLIB")
|
self.flags['common'].append("-D__MICROLIB")
|
||||||
if "--library_type=microlib" not in self.flags['ld']:
|
if "--library_type=microlib" not in self.flags['ld']:
|
||||||
self.flags['ld'].append("--library_type=microlib")
|
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']:
|
if "--library_type=microlib" not in self.flags['asm']:
|
||||||
self.flags['asm'].append("--library_type=microlib")
|
self.flags['asm'].append("--library_type=microlib")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue