|
|
@ -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" ;; |
|
|
|