Diff

Differences From Artifact [3d4b689176]:

To Artifact [c338a964f0]:


    25     25   	rm -f asm/posix_types.h.new
    26     26   fi
    27     27   
    28     28   # Busted wrapper fix-up
    29     29   if grep '__STDC_HOSTED__' stdint.h >/dev/null 2>/dev/null && grep '_GCC_WRAP_STDINT_H' stdint.h >/dev/null 2>/dev/null; then
    30     30   	echo '#include_next <stdint.h>' > stdint.h
    31     31   fi
           32  +
           33  +# MUSL libc expects GCC
           34  +if grep ' __builtin_va_list ' bits/alltypes.h >/dev/null 2>/dev/null; then
           35  +	sed 's@ __builtin_va_list @ char * @' bits/alltypes.h > bits/alltypes.h.new
           36  +	cat bits/alltypes.h.new > bits/alltypes.h
           37  +	rm -f bits/alltypes.h.new
           38  +fi