Skip to content

Commit 3b46495

Browse files
committed
Support compilation on HP-UX out of the box
HP aCC requires different options than GCC/LLVM, add default ones.
1 parent 441b860 commit 3b46495

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@
100100
target = "x86_64-apple-macos"
101101
extra_compile_args.extend(["-target", target])
102102

103+
if sys.platform == "hp-ux11":
104+
extra_compile_args.extend(["+Onolimit"])
105+
103106
setup(
104107
ext_modules=[
105108
Extension(

0 commit comments

Comments
 (0)