mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
[Patch #536769] Add -Xcompiler flag for adding arguments and switches for
the compiler
This commit is contained in:
parent
1142de3f5b
commit
f4a4fb9a11
2 changed files with 3 additions and 0 deletions
|
@ -188,6 +188,8 @@ def read_setup_file (filename):
|
|||
append_next_word = ext.runtime_library_dirs
|
||||
elif word == "-Xlinker":
|
||||
append_next_word = ext.extra_link_args
|
||||
elif word == "-Xcompiler":
|
||||
append_next_word = ext.extra_compile_args
|
||||
elif switch == "-u":
|
||||
ext.extra_link_args.append(word)
|
||||
if not value:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue