diff options
Diffstat (limited to 'sysdeps/nios2')
-rw-r--r-- | sysdeps/nios2/configure | 3 | ||||
-rw-r--r-- | sysdeps/nios2/configure.ac | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/nios2/configure b/sysdeps/nios2/configure index 14c8a3a014..b3cd28349e 100644 --- a/sysdeps/nios2/configure +++ b/sysdeps/nios2/configure @@ -160,3 +160,6 @@ $as_echo "$libc_cv_nios2_be" >&6; } if test $libc_cv_nios2_be = yes; then as_fn_error $? "Big endian not supported for Nios II" "$LINENO" 5 fi + +$as_echo "#define HIDDEN_VAR_NEEDS_DYNAMIC_RELOC 1" >>confdefs.h + diff --git a/sysdeps/nios2/configure.ac b/sysdeps/nios2/configure.ac index f05f43802b..f738e9a7ed 100644 --- a/sysdeps/nios2/configure.ac +++ b/sysdeps/nios2/configure.ac @@ -11,3 +11,5 @@ AC_CACHE_CHECK([for big endian], if test $libc_cv_nios2_be = yes; then AC_MSG_ERROR([Big endian not supported for Nios II]) fi + +AC_DEFINE(HIDDEN_VAR_NEEDS_DYNAMIC_RELOC) |