Carsten Schlote wrote:
>>> +
>>> +-LCFLAGS = -include perm_copy.h
>>> ++LCFLAGS = -include perm_copy.h -I$(prefix)/include
>>                                      ^^^^^^^^^^
>>
>> this is probably wrong, if prefix == /usr host include will leak in
> 
> Without this hack, I had a problem with xattr.h no found on compile,
> although it
> is available in sysroot-target from previous libattr+headers build and
> install.
> 
> I tried many other ways to fix this. This one worked. Still no glue,
> what is
> the real problem.

the build system has to respect CPPFLAGS, i.e. not overwrite then and
use them

cheers, Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

--
ptxdist mailing list
[email protected]

Reply via email to