From 6e86a7c21b25f271304238a0cff0dd638343a5c2 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 12 Jun 1996 01:34:32 +0000 Subject: * Makerules (elfobjdir): Use $(objdir) if set, even in elf subdir. * elf/Makefile (routines): Remove init-first. * csu/Makefile (routines): New variable; put it here instead. * config.make.in (CFLAGS): New variable. * io/sys/stat.h (S_ISLNK, S_ISSOCK): Make conditional on __USE_BSD, not __USE_GNU. * string/string.h (strncasecmp): Likewise. --- Makerules | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Makerules') diff --git a/Makerules b/Makerules index ff6adcf9d2..5320ff4a9b 100644 --- a/Makerules +++ b/Makerules @@ -493,11 +493,7 @@ LDFLAGS-c.so = -nostdlib -nostartfiles # Give libc.so an entry point and make it directly runnable itself. LDFLAGS-c.so += -e __libc_print_version # Use our own special initializer and finalizer files for libc.so. -ifeq (elf, $(subdir)) -elfobjdir := . -else -elfobjdir := $(firstword $(objdir) $(..)elf) -endif +elfobjdir := $(firstword $(objdir) $(patsubst ../$(subdir),.,$(..)elf)) $(common-objpfx)libc.so: $(elfobjdir)/soinit.so \ $(common-objpfx)libc_pic.a \ $(elfobjdir)/sofini.so $(elfobjdir)/ld.so -- cgit v1.2.3