guix/gnu
Ludovic Courtès 28dc10a455
gnu: glibc: Refer to the target kernel headers when cross-compiling.
This fixes a regression introduced in
efc4eb1475 whereby the build process
corresponding to 'guix build glibc --target=mips64el-linux-gnu' would
refer to the native headers instead of the target headers, leading to a
build failure:

  ../sysdeps/unix/sysv/linux/statfs64.c: In function ‘__statfs64’:
  ../sysdeps/unix/sysv/linux/statfs64.c:73:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^

When we were using CROSS_CPATH instead of CROSS_C_INCLUDE_PATH, the
problem was hidden by the fact that CPATH corresponds to '-I' whereas
C_INCLUDE_PATH corresponds to '-isystem', and '-isystem' directories are
searched after '-I' directories.

* gnu/packages/base.scm (glibc)[arguments]: Refer to the kernel headers
from '%build-target-inputs' when cross-building.
2016-05-30 00:17:44 +02:00
..
build
packages gnu: glibc: Refer to the target kernel headers when cross-compiling. 2016-05-30 00:17:44 +02:00
services services: Add urandom-seed-service. 2016-05-28 19:59:31 -04:00
system system: Do not export PS1 in /etc/skel/.bashrc. 2016-05-06 13:25:30 +02:00
tests system: tests: Use 'start-service' to wait for service. 2016-05-08 23:49:44 +02:00
artwork.scm
local.mk gnu: rpm: Fix CVE-2014-8118. 2016-05-29 14:02:08 -04:00
packages.scm
services.scm
system.scm
tests.scm