From 5f456680807809c04eccdf71293e3326efd3a095 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 6 Sep 2012 00:00:34 +0200 Subject: distro: glibc: Assume a recent Linux kernel. * distro/base.scm (glibc): Pass "--enable-kernel=2.6.30". --- distro/base.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/distro/base.scm b/distro/base.scm index c89a391845..d3a1228297 100644 --- a/distro/base.scm +++ b/distro/base.scm @@ -1217,6 +1217,12 @@ call interface, and powerful string processing.") (string-append "--with-headers=" (assoc-ref %build-inputs "linux-headers") "/include") + + ;; The default is to assume a 2.4 Linux interface, but we'll + ;; always use something newer. See "kernel-features.h" in the + ;; GNU libc for details. + "--enable-kernel=2.6.30" + ;; To avoid linking with -lgcc_s (dynamic link) so the libc does ;; not depend on its compiler store path. "libc_cv_as_needed=no" -- cgit v1.2.3