Browse Source

glibc: fixed build of additional ABIs by creating an empty stubs header file for each ABI if needed

user/chris/test/multilib
Christian Wiese 13 years ago
parent
commit
aa50ad959f
  1. 12
      base/glibc/glibc.conf

12
base/glibc/glibc.conf

@ -21,6 +21,18 @@ pkg_glibc_postmake_headers() {
touch $root$includedir/bits/stdio_lim.h
[ -e $root$includedir/gnu/stubs.h ] ||
touch $root$includedir/gnu/stubs.h
# on multilib enabled builds create a stubs header file for each ABI
# TODO
# check if that approach is the right one or if we only have to
# create an empty stubs header for each additional ABI besides
# the default ABI
if [ "$SDECFG_MULTILIB" == 1 ] ; then
for x in $arch_abis; do
[ -e $root$includedir/gnu/stubs-$x.h ] ||
touch $root$includedir/gnu/stubs-$x.h
done
fi
}
# overwrite prefix to not point to the tools, but the real root for the headers

Loading…
Cancel
Save