diff options
Diffstat (limited to 'sysdeps/hppa')
-rw-r--r-- | sysdeps/hppa/configure | 3 | ||||
-rw-r--r-- | sysdeps/hppa/configure.ac | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/hppa/configure b/sysdeps/hppa/configure index cf5acf966d..ebb42c592c 100644 --- a/sysdeps/hppa/configure +++ b/sysdeps/hppa/configure @@ -32,6 +32,9 @@ cat >>confdefs.h <<_ACEOF _ACEOF +$as_echo "#define HIDDEN_VAR_NEEDS_DYNAMIC_RELOC 1" >>confdefs.h + + # PIE builds fail on binutils 2.37 and earlier, see: # https://sourceware.org/bugzilla/show_bug.cgi?id=28672 $as_echo "#define PIE_UNSUPPORTED 1" >>confdefs.h diff --git a/sysdeps/hppa/configure.ac b/sysdeps/hppa/configure.ac index 3e1c35bbd9..5e59a63f9a 100644 --- a/sysdeps/hppa/configure.ac +++ b/sysdeps/hppa/configure.ac @@ -20,6 +20,8 @@ fi rm -f conftest*]) AC_DEFINE_UNQUOTED(ASM_LINE_SEP, $libc_cv_asm_line_sep) +AC_DEFINE(HIDDEN_VAR_NEEDS_DYNAMIC_RELOC) + # PIE builds fail on binutils 2.37 and earlier, see: # https://sourceware.org/bugzilla/show_bug.cgi?id=28672 AC_DEFINE(PIE_UNSUPPORTED) |