remove static libgcc from meson (#1290)

This commit is contained in:
Jan
2023-08-19 12:28:48 +08:00
committed by takase1121
parent 4c18cf6744
commit d54a5d0672
-4
View File
@@ -63,10 +63,6 @@ lite_cargs += '-DLITE_ARCH_TUPLE="@0@"'.format(arch_tuple)
# Linker Settings # Linker Settings
#=============================================================================== #===============================================================================
lite_link_args = [] lite_link_args = []
if cc.get_id() == 'gcc' and get_option('buildtype') == 'release'
lite_link_args += ['-static-libgcc']
endif
if host_machine.system() == 'darwin' if host_machine.system() == 'darwin'
lite_link_args += ['-framework', 'CoreServices', '-framework', 'Foundation'] lite_link_args += ['-framework', 'CoreServices', '-framework', 'Foundation']
endif endif