From ee1c13e232bc2a2a2758eec133be9c168d3fff7d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 5 Nov 2002 05:56:27 +0000 Subject: Standardize LIBGCC_DIR --- libpthread/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'libpthread/Makefile') diff --git a/libpthread/Makefile b/libpthread/Makefile index c76b0a8cd..c98ef8bda 100644 --- a/libpthread/Makefile +++ b/libpthread/Makefile @@ -36,13 +36,12 @@ ifeq ($(strip $(DODEBUG)),y) endif endif -GCC_LIB_DIR = $(dir $(shell $(CC) -print-libgcc-file-name )) ifeq ($(strip $(DOPIC)),y) - START_FILES = $(TOPDIR)lib/crti.o $(GCC_LIB_DIR)crtbeginS.o - END_FILES = $(GCC_LIB_DIR)crtendS.o $(TOPDIR)lib/crtn.o + START_FILES = $(TOPDIR)lib/crti.o $(LIBGCC_DIR)crtbeginS.o + END_FILES = $(LIBGCC_DIR)crtendS.o $(TOPDIR)lib/crtn.o else - START_FILES = $(TOPDIR)lib/crti.o $(GCC_LIB_DIR)crtbegin.o - END_FILES = $(GCC_LIB_DIR)crtend.o $(TOPDIR)lib/crtn.o + START_FILES = $(TOPDIR)lib/crti.o $(LIBGCC_DIR)crtbegin.o + END_FILES = $(LIBGCC_DIR)crtend.o $(TOPDIR)lib/crtn.o endif ALL_SUBDIRS = linuxthreads linuxthreads_db -- cgit v1.2.3