configure/autoconf_cache: fix long double size on musl
This commit is contained in:
parent
472b244572
commit
e46ea34662
2 changed files with 17 additions and 9 deletions
|
@ -4,7 +4,6 @@ ac_cv_sizeof_double=${ac_cv_sizeof_double=8}
|
|||
ac_cv_sizeof_float=${ac_cv_sizeof_float=4}
|
||||
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
|
||||
ac_cv_sizeof_long=${ac_cv_sizeof_long=8}
|
||||
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=16}
|
||||
ac_cv_sizeof_long_int=${ac_cv_sizeof_long_int=8}
|
||||
ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
|
||||
ac_cv_sizeof_long_long_int=${ac_cv_sizeof_long_long_int=8}
|
||||
|
@ -20,6 +19,12 @@ ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short=2}
|
|||
ac_cv_sizeof_unsigned_short_int=${ac_cv_sizeof_unsigned_short_int=2}
|
||||
ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=8}
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=8}
|
||||
else
|
||||
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=16}
|
||||
fi
|
||||
|
||||
# screen
|
||||
screen_cv_sys_bcopy_overlap=${screen_cv_sys_bcopy_overlap=no}
|
||||
screen_cv_sys_memcpy_overlap=${screen_cv_sys_memcpy_overlap=no}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue