Skip to main content

Remove `-mno-fused-madd` from /System/.../_sysconfigdata.py

Project description

Restore System Python’s ability to compile extensions, which has been broken on OS X 10.9 with Xcode 5.1.

System Python has a compile flag -mno-fused-madd, which is unrecognized by clang. Xcode 5.1 updates clang to a version that promotes this warning to an error, making it impossible to compile any extensions on System Python after installing Xcode 5.1.

This patches /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_sysconfigdata.py to remove any instances of -mno-fused-madd.

Since it modifies system files, this is probably a horrible thing to do, and nobody should use it. But here it is anyway, use at your own risk.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonofusedmadd-0.0.2.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file nonofusedmadd-0.0.2.tar.gz.

File metadata

File hashes

Hashes for nonofusedmadd-0.0.2.tar.gz
Algorithm Hash digest
SHA256 92ea35d824f2d9bfa199604ffde667654af180d69338d069674f78fb5412577c
MD5 5792fbfdcf172f477a99282130f38bea
BLAKE2b-256 de54aab3c409fe8fae7ccc2b18721a3663a8949a3d7efa89846a4d0fb1e99f97

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page