|
|
|
@ -66,6 +66,17 @@ fi
|
|
|
|
|
pkg_glibc_abi_preconf() { |
|
|
|
|
slibdir="lib$1" |
|
|
|
|
echo_status "slibdir: $slibdir" |
|
|
|
|
|
|
|
|
|
# applies to all additional ABIs while building multilib |
|
|
|
|
if [ $buildloop -ge 2 ]; then |
|
|
|
|
# only install libraries and no programs |
|
|
|
|
hook_add premake 5 "echo 'build-programs=no' > configparms" |
|
|
|
|
var_remove makeinstopt ' ' 'install' |
|
|
|
|
var_append makeinstopt ' ' 'install-lib-all' |
|
|
|
|
# filter out some unwanted header files |
|
|
|
|
var_append INSTALL_WRAPPER_FILTER "|" \ |
|
|
|
|
"sed -e 's,.*usr/include/.*\.h,/tmp/removed.h,'" |
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# use at least "-O" when build without optimisation for debugging ... |
|
|
|
|