2.6.1 build failure on OS X with clang
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python-Crypto |
New
|
Undecided
|
Unassigned |
Bug Description
This is with pycrypto 2.6.1 from PyPI, and 2.6.x branch in git. Building from master seems to use gcc, so maybe this is moot?
cc -fno-strict-
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
error: command 'cc' failed with exit status 1
$ cc --version
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-
Thread model: posix
A temporary workaround:
$ CFLAGS= -Wunused- command- line-argument- hard-error- in-future pip install -U pycrypto