Commit 75b5a697ed5dbfd9bef2eeddf82032ecfeb169f8
Committed by
Anthony Liguori
1 parent
2880bc32
rename NEEDS_LIBSUNMATH to CONFIG_NEEDS_LIBSUNMATH
Once there fix a place where it was misspelled Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing
4 changed files
with
5 additions
and
5 deletions
Makefile.target
| ... | ... | @@ -60,7 +60,7 @@ LIBS+=-lwinmm -lws2_32 -liphlpapi |
| 60 | 60 | endif |
| 61 | 61 | ifdef CONFIG_SOLARIS |
| 62 | 62 | LIBS+=-lsocket -lnsl -lresolv |
| 63 | -ifdef NEEDS_LIBSUNMATH | |
| 63 | +ifdef CONFIG_NEEDS_LIBSUNMATH | |
| 64 | 64 | LIBS+=-lsunmath |
| 65 | 65 | LDFLAGS+=-L/opt/SUNWspro/prod/lib -R/opt/SUNWspro/prod/lib |
| 66 | 66 | CFLAGS+=-I/opt/SUNWspro/prod/include/cc | ... | ... |
configure
| ... | ... | @@ -1558,8 +1558,8 @@ if test "$solaris" = "yes" ; then |
| 1558 | 1558 | echo "#define CONFIG_SOLARIS 1" >> $config_host_h |
| 1559 | 1559 | echo "#define CONFIG_SOLARIS_VERSION $solarisrev" >> $config_host_h |
| 1560 | 1560 | if test "$needs_libsunmath" = "yes" ; then |
| 1561 | - echo "NEEDS_LIBSUNMATH=yes" >> $config_host_mak | |
| 1562 | - echo "#define NEEDS_LIBSUNMATH 1" >> $config_host_h | |
| 1561 | + echo "CONFIG_NEEDS_LIBSUNMATH=y" >> $config_host_mak | |
| 1562 | + echo "#define CONFIG_NEEDS_LIBSUNMATH 1" >> $config_host_h | |
| 1563 | 1563 | fi |
| 1564 | 1564 | fi |
| 1565 | 1565 | if test -n "$sparc_cpu"; then | ... | ... |
fpu/softfloat-native.h
fpu/softfloat.h
| ... | ... | @@ -32,7 +32,7 @@ these four paragraphs for those parts of this code that are retained. |
| 32 | 32 | #ifndef SOFTFLOAT_H |
| 33 | 33 | #define SOFTFLOAT_H |
| 34 | 34 | |
| 35 | -#if defined(CONFIG_SOLARIS) && defined(NEEDS_LIBSUNMATH) | |
| 35 | +#if defined(CONFIG_SOLARIS) && defined(CONFIG_NEEDS_LIBSUNMATH) | |
| 36 | 36 | #include <sunmath.h> |
| 37 | 37 | #endif |
| 38 | 38 | ... | ... |