[Debichem-devel] Bug#966685: inchi FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Sat Aug 1 20:40:04 BST 2020


Source: inchi
Version: 1.03+dfsg-2
User: debian-cross at lists.debian.org
Usertags: ftcbfs
Tags: patch upstream

inchi fails to cross build from source, because it uses the build
architecture compiler. dh_auto_build passes a cross compiler via the
standard variable CC, but inchi's makefile expects it in C_COMPILER and
two other variables. The attached patch reworks the makefile to pick up
CC by default while still honouring the users choice of C_COMPILER.
Please consider applying it.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 904 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20200801/f180fb00/attachment.patch>


More information about the Debichem-devel mailing list