about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/i386/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/i386/Makefile')
-rw-r--r--sysdeps/mach/hurd/i386/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/Makefile b/sysdeps/mach/hurd/i386/Makefile
index 5f988097c2..938d3b046d 100644
--- a/sysdeps/mach/hurd/i386/Makefile
+++ b/sysdeps/mach/hurd/i386/Makefile
@@ -6,3 +6,11 @@ endif
 ifeq ($(subdir),debug)
 gen-as-const-headers += signal-defines.sym
 endif
+
+ifeq ($(subdir),csu)
+ifeq (yes,$(build-shared))
+sysdep_routines += divdi3
+shared-only-routines += divdi3
+CPPFLAGS-divdi3.c = -Din_divdi3_c
+endif
+endif