summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-04 00:33:54 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-04 00:33:54 +0000
commitf3cacffe54fb2644fcf6dee57b5768af4e32e797 (patch)
tree4dd45d30b15b64a2074d2aea15a1b26f493e55b1 /libpthread/linuxthreads
parent61044293e40d58523315342c0521eec46d1994c6 (diff)
downloaduClibc-alpine-f3cacffe54fb2644fcf6dee57b5768af4e32e797.tar.bz2
uClibc-alpine-f3cacffe54fb2644fcf6dee57b5768af4e32e797.tar.xz
Fix up build system for NPTL. I admit it is much cleaner now, but I lost my entire Saturday fixing this $!#$!#@$T! up.
Diffstat (limited to 'libpthread/linuxthreads')
-rw-r--r--libpthread/linuxthreads/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/libpthread/linuxthreads/Makefile b/libpthread/linuxthreads/Makefile
index 4072d660f..d5637eccf 100644
--- a/libpthread/linuxthreads/Makefile
+++ b/libpthread/linuxthreads/Makefile
@@ -22,17 +22,11 @@ include $(TOPDIR)Rules.mak
CFLAGS+=$(SSP_ALL_CFLAGS)
-#This stuff will not compile without at least -O1
+# This stuff will not compile without at least -O1
CFLAGS :=$(CFLAGS:-O0=-O1)
-# set up system dependencies include dirs (NOTE: order matters!)
-# psm: don't think that the last include makes sense
-# they all should be already linked to $(TOPDIR)include
-PTDIR = $(TOPDIR)libpthread/linuxthreads/
-SYSDEPINC = -I$(PTDIR)sysdeps/pthread \
- -I$(PTDIR)sysdeps/$(TARGET_ARCH) \
- -I$(TOPDIR)libc/sysdeps/linux/$(TARGET_ARCH)
-CFLAGS += $(SYSDEPINC)
+# Get the thread include dependencies
+CFLAGS += $(PTINC)
ARCH_CFLAGS = $(CFLAGS)