glibc: setting --enable-kernel=2.6.35
It was taking 2.4.0 as default, therefore, not using syscalls over 2.4.0 We may see performance improvements (openat, ...)
This commit is contained in:
@@ -110,6 +110,8 @@ stdenv.mkDerivation ({
|
||||
(if profilingLibraries
|
||||
then "--enable-profile"
|
||||
else "--disable-profile")
|
||||
] ++ stdenv.lib.optionals (cross == null) [
|
||||
"--enable-kernel=${kernelHeaders.versionForGlibc}"
|
||||
] ++ stdenv.lib.optionals (cross != null) [
|
||||
(if cross.withTLS then "--with-tls" else "--without-tls")
|
||||
(if cross.float == "soft" then "--without-fp" else "--with-fp")
|
||||
|
||||
Reference in New Issue
Block a user