diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
@@ -83,20 +83,25 @@ uClibc_config.h: Config else \ echo "#undef __UCLIBC_HAS_MMU__" >> uClibc_config.h ; \ fi - @if [ "$(HAS_FLOATS)" = "true" ] ; then \ + @if [ "$(HAS_FLOATING_POINT)" = "true" ] ; then \ echo "#define __UCLIBC_HAS_FLOATS__ 1" >> uClibc_config.h ; \ else \ echo "#undef __UCLIBC_HAS_FLOATS__" >> uClibc_config.h ; \ fi - @if [ "$(HAS_DOUBLE)" = "true" ] ; then \ - echo "#define __UCLIBC_HAS_DOUBLE__ 1" >> uClibc_config.h ; \ + @if [ "$(HAS_LIBM_FLOAT)" = "true" ] ; then \ + echo "#define __UCLIBC_HAS_LIBM_FLOAT__ 1" >> uClibc_config.h ; \ else \ - echo "#undef __UCLIBC_HAS_DOUBLE__" >> uClibc_config.h ; \ + echo "#undef __UCLIBC_HAS_LIBM_FLOAT__" >> uClibc_config.h ; \ fi - @if [ "$(HAS_LONG_DOUBLE)" = "true" ] ; then \ - echo "#define __UCLIBC_HAS_LONG_DOUBLE__ 1" >> uClibc_config.h ; \ + @if [ "$(HAS_LIBM_DOUBLE)" = "true" ] ; then \ + echo "#define __UCLIBC_HAS_LIBM_DOUBLE__ 1" >> uClibc_config.h ; \ else \ - echo "#undef __UCLIBC_HAS_LONG_DOUBLE__" >> uClibc_config.h ; \ + echo "#undef __UCLIBC_HAS_LIBM_DOUBLE__" >> uClibc_config.h ; \ + fi + @if [ "$(HAS_LIBM_LONG_DOUBLE)" = "true" ] ; then \ + echo "#define __UCLIBC_HAS_LIBM_LONG_DOUBLE__ 1" >> uClibc_config.h ; \ + else \ + echo "#undef __UCLIBC_HAS_LIBM_LONG_DOUBLE__" >> uClibc_config.h ; \ fi @if [ "$(HAS_LONG_LONG)" = "true" ] ; then \ echo "#define __UCLIBC_HAS_LONG_LONG__ 1" >> uClibc_config.h ; \ |