File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -339,9 +339,6 @@ def separate_linker_flags(newargs):
339339 - Compiler flags are those to be passed to `clang -c`.
340340 """
341341
342- if settings .RUNTIME_LINKED_LIBS :
343- newargs += settings .RUNTIME_LINKED_LIBS
344-
345342 compiler_args = []
346343 linker_args = []
347344
Original file line number Diff line number Diff line change @@ -3126,6 +3126,9 @@ def run(options, linker_args):
31263126 # We have now passed the compile phase, allow reading/writing of all settings.
31273127 settings .limit_settings (None )
31283128
3129+ if settings .RUNTIME_LINKED_LIBS :
3130+ linker_args += settings .RUNTIME_LINKED_LIBS
3131+
31293132 if not linker_args :
31303133 exit_with_error ('no input files' )
31313134
Original file line number Diff line number Diff line change 102102 'LTO' ,
103103 'OPT_LEVEL' ,
104104 'DEBUG_LEVEL' ,
105-
106- # This is legacy setting that we happen to handle very early on
107- 'RUNTIME_LINKED_LIBS' ,
108105}.union (PORTS_SETTINGS )
109106
110107# Unlike `LEGACY_SETTINGS`, deprecated settings can still be used
You can’t perform that action at this time.
0 commit comments