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.
22 lines
570 B
22 lines
570 B
name=glibc
|
|
version=2.21
|
|
|
|
dlextract "http://ftp.gnu.org/gnu/libc/glibc-2.20.tar.xz" \
|
|
"948a6e06419a01bd51e97206861595b0"
|
|
|
|
mkdir "$name-build"; cd "$name-build"
|
|
|
|
"../$name-$version/configure" \
|
|
--prefix=/tools \
|
|
--host="$target" \
|
|
--build="$(../glibc-2.20/scripts/config.guess)" \
|
|
--disable-profile \
|
|
--enable-kernel=2.6.32 \
|
|
--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:
|
|
|