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