aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.inc
diff options
context:
space:
mode:
authorChristophe Milard <christophe.milard@linaro.org>2015-07-27 19:38:34 +0200
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-07-29 16:03:13 +0300
commitb9feb72a32e0186f1eb5da309b43891644a1e7f6 (patch)
tree1f98028cc943d97a7a4447c9881cd3f888b2b594 /test/Makefile.inc
parentec387564d9e4dbd3f32c8f3eb5b6254d7778801a (diff)
test: removing current dir from -I
The goal of this patch is to remove the src directory and current directory from the standard include search path (gcc -I<path>), so that #include <...> and #include "..." actually search different locations. This enables standard filenames (such as errno.h) to be used locally. Signed-off-by: Christophe Milard <christophe.milard@linaro.org> Reviewed-by: Stuart Haslam <stuart.haslam@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'test/Makefile.inc')
-rw-r--r--test/Makefile.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Makefile.inc b/test/Makefile.inc
index d5b4770ec..2700b1859 100644
--- a/test/Makefile.inc
+++ b/test/Makefile.inc
@@ -6,8 +6,7 @@ LIB = $(top_builddir)/lib
#before libodp by setting PRE_LDADD before the inclusion.
LDADD = $(PRE_LDADD) $(LIB)/libodphelper.la $(LIB)/libodp.la
-INCFLAGS = -I$(srcdir) \
- -I$(top_srcdir)/test \
+INCFLAGS = -I$(top_srcdir)/test \
-I$(top_srcdir)/platform/@with_platform@/include \
-I$(top_srcdir)/platform/linux-generic/include \
-I$(top_srcdir)/include \
@@ -20,4 +19,4 @@ AM_LDFLAGS += -L$(LIB)
@VALGRIND_CHECK_RULES@
valgrind_tools = memcheck drd sgcheck
-TESTS_ENVIRONMENT= ODP_PLATFORM=${with_platform} EXEEXT=${EXEEXT} \ No newline at end of file
+TESTS_ENVIRONMENT= ODP_PLATFORM=${with_platform} EXEEXT=${EXEEXT}