3 # Build cannot happen without optimizations.
4 export CFLAGS
="-DNDEBUG -Os -pipe -march=westmere"
6 # Build must happen outside of glibc source.
13 --libexecdir=/usr
/lib \
15 libc_cv_include_x86_isa_level
=no
21 "rootsbindir=/usr/bin" > configparms
24 make DESTDIR
="$1" install
26 rm -f "$1/var/db/Makefile" \
30 mkdir
-p "$1/usr/lib/locale"
31 printf "en_US.UTF8 UTF-8\n" > "$1/etc/locale.gen"
33 for script in ldd locale-gen sotruss
; do
34 cp -f "../glibc/$script" "$1/usr/bin/$script"
35 chmod +x
"$1/usr/bin/$script"