Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
618 B

name=glibc
version=2.22
dlextract "https://ftp.gnu.org/gnu/libc/$name-$version.tar.xz" \
"e51e02bf552a0a1fbbdc948fb2f5e83c"
header_end
mkdir "$name-build"; cd "$name-build"
"../$name-$version/configure" \
--prefix=/tools \
--host="$target" \
--build="$(../$name-$version/scripts/config.guess)" \
--disable-profile \
--enable-kernel=2.6.32 \
--enable-obsolete-rpc \
--with-headers=/tools/include \
libc_cv_forced_unwind=yes \
libc_cv_ctors_header=yes \
libc_cv_c_cleanup=yes
make; make DESTDIR="$dir_install" install
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: