aboutsummaryrefslogtreecommitdiff
path: root/test/validation/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'test/validation/Makefile.inc')
-rw-r--r--test/validation/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/validation/Makefile.inc b/test/validation/Makefile.inc
index ac8081404..49efbda98 100644
--- a/test/validation/Makefile.inc
+++ b/test/validation/Makefile.inc
@@ -2,6 +2,11 @@ include $(top_srcdir)/test/Makefile.inc
COMMON_DIR = $(top_builddir)/test/validation/common
+#the following option ensure that option '-I.' is not passed to gcc,
+#therefore distinguishing between '#include "X"' and '#include <X>'.
+#It allows common filenames (such as 'errno.h') to be used locally.
+AUTOMAKE_OPTIONS = nostdinc
+
AM_CFLAGS += -I$(top_srcdir)/test/validation/common
AM_LDFLAGS += -static