aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/hppa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/hppa/Makefile')
-rw-r--r--sysdeps/hppa/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/hppa/Makefile b/sysdeps/hppa/Makefile
index 170bd07..68651f6 100644
--- a/sysdeps/hppa/Makefile
+++ b/sysdeps/hppa/Makefile
@@ -31,3 +31,14 @@ CFLAGS-rtld.c += -mdisable-fpregs
dl-routines += dl-symaddr dl-fptr
rtld-routines += dl-symaddr dl-fptr
endif
+
+ifeq ($(subdir),csu)
+ifeq (yes,$(build-shared))
+# Compatibility
+ifeq (yes,$(have-protected))
+CPPFLAGS-libgcc-compat.c = -DHAVE_DOT_HIDDEN
+endif
+sysdep_routines += libgcc-compat
+shared-only-routines += libgcc-compat
+endif
+endif