diff options
Diffstat (limited to 'extra/scripts')
-rwxr-xr-x | extra/scripts/install_headers.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/extra/scripts/install_headers.sh b/extra/scripts/install_headers.sh index e5314447f..f01d89445 100755 --- a/extra/scripts/install_headers.sh +++ b/extra/scripts/install_headers.sh @@ -51,7 +51,12 @@ while read -r filename; do # exactly the same as input. That's ok. # Do not abort the script if unifdef "fails"! # NB2: careful with sed command arguments, they contain tab character - "$top_builddir/extra/scripts/unifdef" -UUCLIBC_INTERNAL -U_LIBC "$1/$filename" \ + "$top_builddir/extra/scripts/unifdef" \ + -UUCLIBC_INTERNAL \ + -U_LIBC \ + -U__UCLIBC_GEN_LOCALE \ + -U__NO_CTYPE \ + "$1/$filename" \ | sed -e '/^rtld_hidden_proto[ ]*([a-zA-Z0-9_]*)$/d' \ | sed -e '/^lib\(c\|m\|resolv\|dl\|intl\|rt\|nsl\|util\|crypt\|pthread\)_hidden_proto[ ]*([a-zA-Z0-9_]*)$/d' \ >"$2/$filename" |