|
|
@ -76,6 +76,11 @@ pkg_glibc_abi_preconf() { |
|
|
|
# filter out some unwanted header files |
|
|
|
# filter out some unwanted header files |
|
|
|
var_append INSTALL_WRAPPER_FILTER "|" \ |
|
|
|
var_append INSTALL_WRAPPER_FILTER "|" \ |
|
|
|
"sed -e 's,.*usr/include/.*\.h,/tmp/removed.h,'" |
|
|
|
"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 |
|
|
|
fi |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -162,7 +167,7 @@ glibc_prepatch() { |
|
|
|
done |
|
|
|
done |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
glibc_postmake() |
|
|
|
pkg_glibc_postmake() |
|
|
|
{ |
|
|
|
{ |
|
|
|
ln -sf libbsd-compat.a $root/usr/$slibdir/libbsd.a |
|
|
|
ln -sf libbsd-compat.a $root/usr/$slibdir/libbsd.a |
|
|
|
|
|
|
|
|
|
|
@ -260,5 +265,3 @@ fi |
|
|
|
#fi |
|
|
|
#fi |
|
|
|
|
|
|
|
|
|
|
|
hook_add prepatch 3 "glibc_prepatch" |
|
|
|
hook_add prepatch 3 "glibc_prepatch" |
|
|
|
hook_add postmake 5 "glibc_postmake" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|