summaryrefslogtreecommitdiffstats
path: root/libpthread
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-05 05:56:27 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-05 05:56:27 +0000
commitee1c13e232bc2a2a2758eec133be9c168d3fff7d (patch)
tree864075928aa21282515465fb5a3a88874a137176 /libpthread
parent9721bee58d9cbd447ed941bd24b0ee5a176410b5 (diff)
downloaduClibc-alpine-ee1c13e232bc2a2a2758eec133be9c168d3fff7d.tar.bz2
uClibc-alpine-ee1c13e232bc2a2a2758eec133be9c168d3fff7d.tar.xz
Standardize LIBGCC_DIR
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/Makefile9
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