configure: Use -fno-builtin to avoid warnings with gcc 4.1.1.
This commit is contained in:
parent
546916f401
commit
a26dabe345
|
@ -15469,13 +15469,7 @@ echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
|
|||
CFLAGS="$saved_CFLAGS"
|
||||
if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
|
||||
then
|
||||
BUILTINFLAG=""
|
||||
for builtin in \
|
||||
iswalnum iswalpha iswcntrl iswdigit iswgraph iswlower \
|
||||
iswprint iswpunct iswspace iswupper iswxdigit towlower towupper
|
||||
do
|
||||
BUILTINFLAG="$BUILTINFLAG -fno-builtin-$builtin"
|
||||
done
|
||||
BUILTINFLAG="-fno-builtin"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
@ -962,13 +962,7 @@ int main(void) {
|
|||
CFLAGS="$saved_CFLAGS"
|
||||
if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
|
||||
then
|
||||
BUILTINFLAG=""
|
||||
for builtin in \
|
||||
iswalnum iswalpha iswcntrl iswdigit iswgraph iswlower \
|
||||
iswprint iswpunct iswspace iswupper iswxdigit towlower towupper
|
||||
do
|
||||
BUILTINFLAG="$BUILTINFLAG -fno-builtin-$builtin"
|
||||
done
|
||||
BUILTINFLAG="-fno-builtin"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue