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 hashes)

Uploaded source

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