Browse Source

Changed glibc to call its 'general' postmake function just while building the default ABI

user/amery/janus
Christian Wiese 17 years ago
committed by Alejandro Mery
parent
commit
973c363a64
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      base/glibc/glibc.conf

+ 6
- 3
base/glibc/glibc.conf

@ -78,6 +78,11 @@ pkg_glibc_abi_preconf() {
# filter out some unwanted header files
var_append INSTALL_WRAPPER_FILTER "|" \
"sed -e 's,.*usr/include/.*\.h,/tmp/removed.h,'"
else
# only run postmake while building the default ABI
if atstage native; then
hook_add postmake 5 'pkg_glibc_postmake'
fi
fi
}
@ -182,7 +187,7 @@ glibc_install_locales() {
/bin/sh $root$bindir/locale-gen
}
glibc_postmake() {
pkg_glibc_postmake() {
if atstage toolchain; then
cp -v ../include/features.h $root$includedir
mkdir -p $root$includedir/{bits,gnu}
@ -293,8 +298,6 @@ if atstage toolchain; then
makeinstopt="-k cross-compiling=yes install-headers"
fi
hook_add postmake 5 "glibc_postmake"
# workaround for failing builds when building for i686 cpu family
case $arch_machine in
i686) var_append extraconfopt ' ' "--disable-multi-arch" ;;

Loading…
Cancel
Save