diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2017-09-03 04:58:00 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2017-09-03 04:58:00 +0200 |
commit | f85958a74d9e26e7e43a5d3e65d4d77ed47f55ea (patch) | |
tree | c9dea801778389e197fc30b81a6c2e3765774cd7 /sysdeps/mach/hurd/i386/Makefile | |
parent | 127e7773b437bd5866a4424cc9b338bac6beb08b (diff) | |
download | glibc-f85958a74d9e26e7e43a5d3e65d4d77ed47f55ea.tar.gz glibc-f85958a74d9e26e7e43a5d3e65d4d77ed47f55ea.tar.xz glibc-f85958a74d9e26e7e43a5d3e65d4d77ed47f55ea.zip |
hurd: Fix libc link
This follows db3d848 ('Build divdi3 only for architecture that required it'). * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object. [$(subdir) = csu] (sysdep-only-routines): Likewise. [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
Diffstat (limited to 'sysdeps/mach/hurd/i386/Makefile')
-rw-r--r-- | sysdeps/mach/hurd/i386/Makefile | 8 |
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 |