Browse Source

Fixed glibc to install libraries and no programs only and to filter out header files while building the additional multilib ABIs

user/chris/test/multilib
Christian Wiese 17 years ago committed by Christian Wiese
parent
commit
5bd6ec5923
  1. 11
      base/glibc/glibc.conf

11
base/glibc/glibc.conf

@ -68,6 +68,17 @@ fi
pkg_glibc_abi_preconf() { pkg_glibc_abi_preconf() {
slibdir="lib$1" slibdir="lib$1"
echo_status "slibdir: $slibdir" 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 ... # use at least "-O" when build without optimisation for debugging ...

Loading…
Cancel
Save