(self, lang: str, comp: T.Type['Compiler'],
                      for_machine: MachineChoice, env: 'Environment')
Add global language arguments that are needed before compiler/linker detection.
Add global language arguments that are needed before compiler/linker detection.
Add global language arguments that are needed before compiler / linker detection .
def add_lang_args(self, lang: str, comp: T.Type['Compiler'],
                      for_machine: MachineChoice, env: 'Environment') -> None:
        """Add global language arguments that are needed before compiler/linker detection."""
        from .compilers import compilers
        # These options are all new at this point, because the compiler is
        # responsible for adding its own options, thus calling
        # `self.options.update()`` is perfectly safe.
        self.options.update(compilers.get_global_options(lang, comp, for_machine, env))
def add_lang_args ( self , lang : str , comp : T . Type [ 'Compiler' ] , for_machine : MachineChoice , env : 'Environment' ) -> None : from . compilers import compilers # These options are all new at this point, because the compiler is # responsible for adding its own options, thus calling # `self.options.update()`` is perfectly safe. self . options . update ( compilers . get_global_options ( lang , comp , for_machine , env ) )