compilers/elbrus: Support prelinking with lcc correctly

pull/9327/head
makise-homura 3 years ago committed by Dylan Baker
parent d9b379df87
commit 79f9a2076a
  1. 3
      mesonbuild/compilers/mixins/elbrus.py

@ -79,6 +79,9 @@ class ElbrusCompiler(GnuLikeCompiler):
def get_optimization_args(self, optimization_level: str) -> T.List[str]:
return gnu_optimization_args[optimization_level]
def get_prelink_args(self, prelink_name: str, obj_list: T.List[str]) -> T.List[str]:
return ['-r', '-nodefaultlibs', '-nostartfiles', '-o', prelink_name] + obj_list
def get_pch_suffix(self) -> str:
# Actually it's not supported for now, but probably will be supported in future
return 'pch'

Loading…
Cancel
Save