Re: [PATCH] Define XDL_FAST_HASH when building *for* (not *on*) x86_64

2016-11-30 Thread Jeff King
[resend; the original had an outdated address for Thomas, and I would definitely like his blessing before removing XDL_FAST_HASH]. On Wed, Nov 30, 2016 at 10:04:07PM -0500, Anders Kaseorg wrote: > Previously, XDL_FAST_HASH was defined when ‘uname -m’ returns x86_64, > even if we are

Re: [PATCH] Define XDL_FAST_HASH when building *for* (not *on*) x86_64

2016-11-30 Thread Jeff King
On Wed, Nov 30, 2016 at 10:04:07PM -0500, Anders Kaseorg wrote: > Previously, XDL_FAST_HASH was defined when ‘uname -m’ returns x86_64, > even if we are cross-compiling for a different architecture. Check > the __x86_64__ compiler macro instead. > > In addition to fixing the cross compilation

[PATCH] Define XDL_FAST_HASH when building *for* (not *on*) x86_64

2016-11-30 Thread Anders Kaseorg
Previously, XDL_FAST_HASH was defined when ‘uname -m’ returns x86_64, even if we are cross-compiling for a different architecture. Check the __x86_64__ compiler macro instead. In addition to fixing the cross compilation bug, this is needed to pass the Debian build reproducibility test