Skip to content

Commit d4b9f91

Browse files
authored
Remove RUNTIME_LINKED_LIBS from COMPILE_TIME_SETTINGS. NFC (#25676)
1 parent b385ac1 commit d4b9f91

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

emcc.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

tools/link.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

tools/settings.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@
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

0 commit comments

Comments
 (0)