about summary refs log tree commit diff
path: root/sysdeps/ia64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ia64/Makefile')
-rw-r--r--sysdeps/ia64/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/ia64/Makefile b/sysdeps/ia64/Makefile
index a9848b7ffc..dd7365c752 100644
--- a/sysdeps/ia64/Makefile
+++ b/sysdeps/ia64/Makefile
@@ -9,6 +9,13 @@ ifeq ($(subdir), csu)
 CPPFLAGS-start.S = -D__ASSEMBLY__
 sysdep_routines += hp-timing
 static-only-routines += hp-timing
+
+ifeq (yes,$(build-shared))
+# Compatibility
+sysdep_routines += ia64libgcc
+shared-only-routines += ia64libgcc
+endif
+endif
 endif
 
 ifeq ($(subdir),elf)