|
|
@ -79,6 +79,9 @@ class ElbrusCompiler(GnuLikeCompiler): |
|
|
|
def get_optimization_args(self, optimization_level: str) -> T.List[str]: |
|
|
|
def get_optimization_args(self, optimization_level: str) -> T.List[str]: |
|
|
|
return gnu_optimization_args[optimization_level] |
|
|
|
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: |
|
|
|
def get_pch_suffix(self) -> str: |
|
|
|
# Actually it's not supported for now, but probably will be supported in future |
|
|
|
# Actually it's not supported for now, but probably will be supported in future |
|
|
|
return 'pch' |
|
|
|
return 'pch' |
|
|
|