summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
Diffstat (limited to 'setup')
-rwxr-xr-xsetup6
1 files changed, 5 insertions, 1 deletions
diff --git a/setup b/setup
index 3790d22..e6edfd8 100755
--- a/setup
+++ b/setup
@@ -207,12 +207,16 @@ function glibc_configure {
mkdir ${GLIBC_CONF_DIR}
cd ${GLIBC_CONF_DIR}
+
+ echo "rootsbindir=/usr/sbin" > configparms
CC=${compiler} ../glibc-${GLIBC_VERSION}/configure\
--host=x86_64-${DISTRO_SPEC}-linux-gnu\
--build=x86_64-linux-gnu\
--with-headers="${HEADERS_LOC}"\
--disable-werror\
+ --disable-ncsd\
+ libc_cv_slibdir=/usr/lib\
"${conf_flags[@]}"
cd "${currdir}"
@@ -263,7 +267,7 @@ function stage0_gcc {
conf_flags=(
--prefix=/tools
- --with-sysroot="/home/cool/opt/cross/"
+ --with-sysroot="${SYSROOT_LOC}"
--with-glibc-version=2.43
--with-newlib
--without-headers