Merge pull request #38 from francesco-st/patch-2

Use -static-libgcc only if the compiler is gcc
This commit is contained in:
Francesco
2021-02-17 19:53:13 +00:00
committed by GitHub
+1 -1
View File
@@ -28,7 +28,7 @@ foreach data_module : ['core', 'fonts', 'plugins', 'colors']
endforeach endforeach
lite_link_args = [] lite_link_args = []
if get_option('buildtype') == 'release' if cc.get_id() == 'gcc' and get_option('buildtype') == 'release'
lite_link_args += ['-static-libgcc', '-static-libstdc++'] lite_link_args += ['-static-libgcc', '-static-libstdc++']
endif endif