about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-05-21 00:28:35 +0000
committerUlrich Drepper <drepper@redhat.com>2002-05-21 00:28:35 +0000
commitf432e749d0c22599d0f15b3b3cebb32cd29dbda6 (patch)
treec4d5aeaa7b45f3ebfeace8f3b648ee339b2273de /sysdeps
parent17b5aef5f38758b697ca0fb3e49f01a169d5faa4 (diff)
downloadglibc-f432e749d0c22599d0f15b3b3cebb32cd29dbda6.tar.gz
glibc-f432e749d0c22599d0f15b3b3cebb32cd29dbda6.tar.xz
glibc-f432e749d0c22599d0f15b3b3cebb32cd29dbda6.zip
Build libgcc-compat and divdi3.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/powerpc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/powerpc/Makefile b/sysdeps/powerpc/Makefile
index a29e387d83..f31d3dc36e 100644
--- a/sysdeps/powerpc/Makefile
+++ b/sysdeps/powerpc/Makefile
@@ -34,6 +34,11 @@ CFLAGS-initfini.s = -g0 -fpic -O1
 CFLAGS-init.o = -G0
 CFLAGS-gmon-start.o = -G0
 endif
+ifeq (yes,$(build-shared))
+# Compatibility
+sysdep_routines += divdi3 libgcc-compat
+shared-only-routines += divdi3 libgcc-compat
+endif
 endif
 
 ifeq ($(subdir),string)