|
|
@ -21,6 +21,18 @@ pkg_glibc_postmake_headers() { |
|
|
|
touch $root$includedir/bits/stdio_lim.h |
|
|
|
touch $root$includedir/bits/stdio_lim.h |
|
|
|
[ -e $root$includedir/gnu/stubs.h ] || |
|
|
|
[ -e $root$includedir/gnu/stubs.h ] || |
|
|
|
touch $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 |
|
|
|
# overwrite prefix to not point to the tools, but the real root for the headers |
|
|
|