diff options
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r-- | sysdeps/sparc/elf/configure | 6 | ||||
-rw-r--r-- | sysdeps/sparc/elf/configure.in | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/sparc/elf/configure b/sysdeps/sparc/elf/configure index 67a40398c7..a2545403ef 100644 --- a/sysdeps/sparc/elf/configure +++ b/sysdeps/sparc/elf/configure @@ -209,3 +209,9 @@ if test $libc_cv_sparc_gcc_gotdata = yes; then $as_echo "#define HAVE_GCC_GOTDATA 1" >>confdefs.h fi + +if test $libc_cv_sparc_gcc_gotdata = yes \ + && test $libc_cv_sparc_gotdata = yes; then + $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h + +fi diff --git a/sysdeps/sparc/elf/configure.in b/sysdeps/sparc/elf/configure.in index ab8b189a7f..1a2f61a90c 100644 --- a/sysdeps/sparc/elf/configure.in +++ b/sysdeps/sparc/elf/configure.in @@ -98,3 +98,8 @@ rm -f conftest*]) if test $libc_cv_sparc_gcc_gotdata = yes; then AC_DEFINE(HAVE_GCC_GOTDATA) fi + +if test $libc_cv_sparc_gcc_gotdata = yes \ + && test $libc_cv_sparc_gotdata = yes; then + AC_DEFINE(PI_STATIC_AND_HIDDEN) +fi |