Browse Source

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

user/chris/test/multilib
Christian Wiese 17 years ago committed by Christian Wiese
parent
commit
e8ae7392df
  1. 8
      base/glibc/glibc.conf

8
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
}
@ -176,7 +181,7 @@ glibc_prepatch() {
done
}
glibc_postmake()
pkg_glibc_postmake()
{
ln -sf libbsd-compat.a $root/usr/$slibdir/libbsd.a
@ -291,7 +296,6 @@ fi
#fi
hook_add prepatch 3 "glibc_prepatch"
hook_add postmake 5 "glibc_postmake"
# workaround for failing builds when building for i686 cpu family
case $arch_machine in

Loading…
Cancel
Save