aboutsummaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-09-06 00:00:34 +0200
committerLudovic Courtès <ludo@gnu.org>2012-09-06 00:00:34 +0200
commit5f456680807809c04eccdf71293e3326efd3a095 (patch)
treed6ee9fb55bdd19610b8d4af7368cc9005bbc0e7d /distro
parentdc1045be7d9ba2257ce2ce97c9fdd3c02e5b1897 (diff)
downloadgnu-guix-5f456680807809c04eccdf71293e3326efd3a095.tar
gnu-guix-5f456680807809c04eccdf71293e3326efd3a095.tar.gz
distro: glibc: Assume a recent Linux kernel.
* distro/base.scm (glibc): Pass "--enable-kernel=2.6.30".
Diffstat (limited to 'distro')
-rw-r--r--distro/base.scm6
1 files changed, 6 insertions, 0 deletions
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"