diff options
Diffstat (limited to 'libpthread/Makefile')
-rw-r--r-- | libpthread/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
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 |