diff options
| author | 0x221E <0x221E@0xinfinity.dev> | 2026-05-30 01:08:34 +0200 |
|---|---|---|
| committer | 0x221E <0x221E@0xinfinity.dev> | 2026-05-30 01:08:34 +0200 |
| commit | 5a64041d04369619a196df99c86bfa9d177c3613 (patch) | |
| tree | 321fa2625949b849e48ed13438b494b011b443fe /setup | |
| parent | c8b68f23b388badf075c911f8a287f019b0d9951 (diff) | |
| download | cross-gcc-master.tar.gz | |
The glibc flag is tricky, appears to be not well documented. The
correct flag is taken from LFS book + void-packages srcpkg/glibc.
Diffstat (limited to 'setup')
| -rwxr-xr-x | setup | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
