diff options
author | Michael Osipov <michael.osipov@siemens.com> | 2022-05-19 15:42:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 15:42:21 (GMT) |
commit | 09be18a73d81aa82cc57a782f3b0a9811e43ad3b (patch) | |
tree | b220db22f0c60b01a96df108b387f39e96d9de10 /setup.py | |
parent | 2cdd57f119e3b85f1bfd28c7ff040e0d9bcaf115 (diff) | |
download | cpython-09be18a73d81aa82cc57a782f3b0a9811e43ad3b.zip cpython-09be18a73d81aa82cc57a782f3b0a9811e43ad3b.tar.gz cpython-09be18a73d81aa82cc57a782f3b0a9811e43ad3b.tar.bz2 |
gh-78630: Drop invalid HP aCC compiler switch -fPIC on HP-UX (#8847)
At compile time, '+z' is already properly used with HP aCC, and shared
libraries are correctly linked with '+b'. The '-fPIC' switch can safely be
dropped.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1408,9 +1408,6 @@ class PyBuildExt(build_ext): # finding some -z option for the Sun compiler. extra_link_args.append('-mimpure-text') - elif HOST_PLATFORM.startswith('hp-ux'): - extra_link_args.append('-fPIC') - ext = Extension('_ctypes', include_dirs=include_dirs, extra_compile_args=extra_compile_args, |