summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMichael Osipov <michael.osipov@siemens.com>2022-05-19 15:42:21 (GMT)
committerGitHub <noreply@github.com>2022-05-19 15:42:21 (GMT)
commit09be18a73d81aa82cc57a782f3b0a9811e43ad3b (patch)
treeb220db22f0c60b01a96df108b387f39e96d9de10 /setup.py
parent2cdd57f119e3b85f1bfd28c7ff040e0d9bcaf115 (diff)
downloadcpython-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.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index f45cd6d..4c49734 100644
--- a/setup.py
+++ b/setup.py
@@ -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,