#1094015 xxhash FTCBFS when built on x86

Package:
src:xxhash
Source:
src:xxhash
Submitter:
Helmut Grohne
Date:
2025-01-24 17:03:02 UTC
Severity:
normal
Tags:
#1094015#5
Date:
2025-01-24 16:59:32 UTC
From:
To:
Source: xxhash
Version: 0.8.3-2
Severity: important
Justification: architecture cross bootstrap regression
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
User: helmutg@debian.org
Usertags: rebootstrap

xxhash fails to cross build from source, because make install examines
$(CC) -dumpmachine for deciding what needs to be linked and then
attempts to link build architecture objects. Exporting CC for make
install (not done by dh_auto_install by default) fixes this. I'm
attaching a patch for your convenience.

Helmut