Jan Nieuwenhuizen <jann...@gnu.org> skribis: > From 5a6b6ba5a440d43af3e8c5cbd1d24f3be5a99804 Mon Sep 17 00:00:00 2001 > From: Jan Nieuwenhuizen <jann...@gnu.org> > Date: Sun, 27 Mar 2016 16:00:36 +0200 > Subject: [PATCH 1/9] gnu: gcc: use CPATH, fixes cross builds. > > * gnu/packages/gcc (gcc): Use CPATH instead of C_INCLUDE_PATH. Fixes usage of > native glibc headers when cross-compiling.
This would be reverting the fix for <http://bugs.gnu.org/22186> as the comment above explains. I suppose the problem is that CPATH is still used elsewhere, leading to interference with this one. However, the cross-compilers for mips64el-linux-gnu and armhf-linux-gnueabi work fine, AFAIK. Thoughts? Ludo’.