distro: glibc: Assume a recent Linux kernel.

* distro/base.scm (glibc): Pass "--enable-kernel=2.6.30".
master
Ludovic Courtès 2012-09-06 00:00:34 +02:00
parent dc1045be7d
commit 5f45668080
1 changed files with 6 additions and 0 deletions

View File

@ -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"