make: Avoid using host include for cross-compiling
authorKurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Thu, 26 Sep 2019 07:21:05 +0000 (09:21 +0200)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 1 Oct 2019 22:47:40 +0000 (08:47 +1000)
commit4e713175eae56cb863b39bc19d377f95a35823a8
tree4e6f078a58ba2a3b4e02bccdff1b0fc915e4f903
parent3202f8916306cc42bcabbae48ae45d0e18ab0826
make: Avoid using host include for cross-compiling

Prepend include paths with the toolchain's sysroot directory.
In case of a non-sysroot-aware toolchain, this does not help,
but does not break either.

Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
pppd/Makefile.linux