[pycrypto] Fix for build issue when built without optimization

Sebastian Ramacher sebastian+lists at ramacher.at
Wed Nov 16 10:31:30 CST 2011


The _fastmath extension cannot be used if pycrypto is built without
optimization. This is due to the call of size not being inlined and this results
in an undefined reference. The attached patch fixes this issue.

According to the gcc bug at [1] this is the intended behavior and confirms to C99.

Kind regards

[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-building-issue-if-built-without-optimization.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://lists.dlitz.net/pipermail/pycrypto/attachments/20111116/28b55009/attachment.patch 


More information about the pycrypto mailing list