Include the multiarch include directory in klcc's path
authorSteve Langasek <steve.langasek@linaro.org>
Mon, 28 Jun 2021 14:24:37 +0000 (15:24 +0100)
committerBen Hutchings <benh@debian.org>
Mon, 28 Jun 2021 14:24:37 +0000 (15:24 +0100)
commite7fba9b587d13d2f68a76b335258ae55623875c0
tree3ff5a1ddca1ff066957263928c9254c33f55b909
parent87e552134acb52c629c264e013db63359cf67406
Include the multiarch include directory in klcc's path

The multiarch include directory, /usr/include/<triplet>, needs to be
explicitly added to klcc's path; without this, klcc is incompatible
with recent Ubuntu versions of linux-libc-dev and fails to find any asm/
headers.

This change is safe to apply on non-multiarch-enabled systems, since
$(DEB_HOST_MULTIARCH) will evaluate empty.  However, upstreaming should
probably wait until we have a way to get this path information in a
vendor-neutral manner.

Gbp-Pq: Name multiarch-include-path
klcc/Kbuild
klcc/klcc.in