aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390/s390-32/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/s390-32/Makefile')
-rw-r--r--sysdeps/s390/s390-32/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/s390/s390-32/Makefile b/sysdeps/s390/s390-32/Makefile
index 057862d91b..04a43bad0c 100644
--- a/sysdeps/s390/s390-32/Makefile
+++ b/sysdeps/s390/s390-32/Makefile
@@ -1,5 +1,13 @@
pic-ccflag = -fpic
+ifeq ($(subdir),csu)
+ifeq (yes,$(build-shared))
+# Compatibility
+sysdep_routines += divdi3
+shared-only-routines += divdi3
+endif
+endif
+
ifeq ($(subdir),gmon)
sysdep_routines += s390-mcount
endif