summaryrefslogtreecommitdiff
path: root/test/nptl
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-04-02 15:21:59 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-04-02 15:22:43 +0200
commit988d78ad253913a86e1b8753b8d904c437c50c8b (patch)
tree6f24c6bd09d4bd1b013ffa4e4104f54fe1de18d6 /test/nptl
parentffffd5e2c29ec418aa0c9ba7bed4c0d2d46a3296 (diff)
test: Reuse PTINC in nptl tests
Use toplevel Rules.mak notion of PTINC as list of includes to use for the testcases. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'test/nptl')
-rw-r--r--test/nptl/Makefile.in18
1 files changed, 4 insertions, 14 deletions
diff --git a/test/nptl/Makefile.in b/test/nptl/Makefile.in
index 976034d4c..dd53f9102 100644
--- a/test/nptl/Makefile.in
+++ b/test/nptl/Makefile.in
@@ -73,21 +73,11 @@ else
GLIBC_TESTS_DISABLED += tst-tls3_glibc tst-tls4_glibc tst-tls5_glibc
endif
-PTDIR := $(top_builddir)libpthread/nptl
-SYSDEPS_DIR := $(top_srcdir)libc/sysdeps
-
EXTRA_CFLAGS := -DNOT_IN_libc=1 -D_LIBC -D__USE_GNU -std=gnu99 \
- -I$(SYSDEPS_DIR)/linux \
- -I$(SYSDEPS_DIR)/linux/$(TARGET_ARCH) \
- -I$(PTDIR) -I$(PTDIR)/sysdeps/unix/sysv/linux/$(TARGET_ARCH) \
- -I$(PTDIR)/sysdeps/$(TARGET_ARCH) \
- -I$(PTDIR)/sysdeps/unix/sysv/linux \
- -I$(PTDIR)/sysdeps/pthread \
- -I$(PTDIR)/sysdeps/pthread/bits \
- -I$(PTDIR)/sysdeps/generic \
- -I$(top_builddir)ldso/include \
- -I$(top_builddir)ldso/ldso/$(TARGET_ARCH) \
- -I$(top_builddir)include \
+ $(PTINC) \
+ -I$(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH) \
+ -I$(top_srcdir)libc/sysdeps/linux \
+ -I$(top_builddir)include \
-include $(top_builddir)include/libc-symbols.h
ifeq ($(TARGET_ARCH),i386)