Include compat code in build.
authorUlrich Drepper <drepper@redhat.com>
Wed, 24 Sep 2003 03:13:28 +0000 (03:13 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 24 Sep 2003 03:13:28 +0000 (03:13 +0000)
sysdeps/hppa/Makefile

index 170bd07..68651f6 100644 (file)
@@ -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