aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-24 03:13:28 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-24 03:13:28 +0000
commitf32742b08826b4f0129964cc17b52d4e52b25c45 (patch)
tree2ecb0d9add851658f4109d317625a6b3f3cdd99c
parent011f9a85d26d02c3dd27a1b64d64391e9127e792 (diff)
downloadglibc-f32742b08826b4f0129964cc17b52d4e52b25c45.tar.xz
glibc-f32742b08826b4f0129964cc17b52d4e52b25c45.zip
Include compat code in build.
-rw-r--r--sysdeps/hppa/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/hppa/Makefile b/sysdeps/hppa/Makefile
index 170bd07ab3..68651f6497 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