don't attempt to build C ext on big endian PYTHON-128
This commit is contained in:
parent
69a87923bb
commit
fdba7b4f6b
9
setup.py
9
setup.py
@ -137,6 +137,15 @@ c_ext = Feature(
|
||||
if "--no_ext" in sys.argv:
|
||||
sys.argv = [x for x in sys.argv if x != "--no_ext"]
|
||||
features = {}
|
||||
elif sys.byteorder == "big":
|
||||
print """
|
||||
***************************************************
|
||||
The optional C extension is currently not supported
|
||||
on big endian platforms and will not be built.
|
||||
Performance may be degraded.
|
||||
***************************************************
|
||||
"""
|
||||
features = {}
|
||||
else:
|
||||
features = {"c-ext": c_ext}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user