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.1.tar.gz (2.2 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for nonofusedmadd-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2a5025507ec67da8096fbacf55f99ecbf70dd6218a17e0105c74029c289552bd
MD5 4986f0291e5ddf01a1c1cb64448a1f8e
BLAKE2b-256 6f48622533248dbabcc27f96b716c6102549766d9a67e9d1e34095ab174d8b8d

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