summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-13 11:17:14 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-13 11:17:14 +0200
commit561ce7fb9f1d4813b5ae5d76c95c1c77ee20236f (patch)
tree8bc93dc0ebdb7b7d0730f68af3bd34d6259000af /Makefile.in
parent01c125c3bd8f949f8e5711e09152859eecd1b004 (diff)
buildsys: prune pthread bits from arch headers
Pickup the correct version of e.g. local_lim.h as seen on ppc Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 8405f43ef..9d18cfe42 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -92,6 +92,10 @@ HEADERS_BITS_SUBARCH :=
ifneq ($(TARGET_SUBARCH),)
HEADERS_BITS_SUBARCH := $(notdir $(wildcard $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/bits/$(TARGET_SUBARCH)/*.h))
endif
+ifneq ($(HEADERS_BITS_PTHREAD),)
+HEADERS_BITS_ARCH := $(filter-out $(HEADERS_BITS_PTHREAD),$(HEADERS_BITS_ARCH))
+HEADERS_BITS_SUBARCH:= $(filter-out $(HEADERS_BITS_PTHREAD),$(HEADERS_BITS_SUBARCH))
+endif
HEADERS_BITS_COMMON := $(filter-out $(HEADERS_BITS_ARCH) $(HEADERS_BITS_SUBARCH) $(HEADERS_BITS_PTHREAD),$(HEADERS_BITS_COMMON))
HEADERS_SYS_COMMON := $(notdir $(wildcard $(top_srcdir)libc/sysdeps/linux/common/sys/*.h))