From d36c0079934cab36c04e50a9a42c886f2192f89f Mon Sep 17 00:00:00 2001 From: Ivan Davidov Date: Sun, 17 Apr 2016 17:47:57 +0300 Subject: [PATCH] Disabled some optional glibc modules for better compatibility. This should fix issues with host machines which have selinux on them. --- src/04_build_glibc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/04_build_glibc.sh b/src/04_build_glibc.sh index 9cf0b7910..74390faa5 100755 --- a/src/04_build_glibc.sh +++ b/src/04_build_glibc.sh @@ -26,8 +26,8 @@ cd ../glibc_objects # glibc is configured to use the root folder (--prefix=) and as result all libraries # will be installed in '/lib'. Kernel headers are taken from our already prepared -# kernel header area (see 02_build_kernel.sh). -../configure --prefix= --with-headers=$WORK_KERNEL_DIR/usr/include --disable-werror +# kernel header area (see 02_build_kernel.sh). Packages 'gd' and 'selinux' are disabled. +../configure --prefix= --with-headers=$WORK_KERNEL_DIR/usr/include --without-gd --without-selinux --disable-werror # Compile glibc with optimization for "parallel jobs" = "number of processors". make -j $(grep ^processor /proc/cpuinfo | wc -l)