Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1142de3 commit f4a4fb9Copy full SHA for f4a4fb9
2 files changed
Lib/distutils/extension.py
@@ -188,6 +188,8 @@ def read_setup_file (filename):
188
append_next_word = ext.runtime_library_dirs
189
elif word == "-Xlinker":
190
append_next_word = ext.extra_link_args
191
+ elif word == "-Xcompiler":
192
+ append_next_word = ext.extra_compile_args
193
elif switch == "-u":
194
ext.extra_link_args.append(word)
195
if not value:
Modules/makesetup
@@ -159,6 +159,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
159
# OSX/OSXS/Darwin framework link cmd
160
;;
161
-[IDUCfF]*) cpps="$cpps $arg";;
162
+ -Xcompiler) skip=cpps;;
163
-Xlinker) libs="$libs $arg"; skip=libs;;
164
-rpath) libs="$libs $arg"; skip=libs;;
165
--rpath) libs="$libs $arg"; skip=libs;;
0 commit comments