#1153490 openipmi FTCBFS for amd64 and arm64: passes host flags to the build compiler

#1153490#5
Date:
2026-11-08 15:17:51 UTC
From:
To:
Source: openipmi
Version: 2.0.37-1
X-Debbugs-Cc: debian-amd64@lists.debian.org, debian-arm@lists.debian.org
User: debian-arm@lists.debian.org
Usertags: arm64
User: debian-amd64@lists.debian.org
Usertags: amd64
User: debian-cross@lists.debian.org
Usertags: ftcbfs

openipmi fails to cross build from source, because it passes host
compiler flags to the build architecture compiler. This breaks when
building for amd64 or arm64, because those architectures have unique
compiler flags that are not accepted by other compilers. I'm attaching a
patch to differentiate those flags.

Helmut