Build fix: filter-grammar-test: incorrect inclusion flag
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 6 May 2021 22:43:44 +0000 (18:43 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 7 May 2021 17:32:53 +0000 (13:32 -0400)
Including src/common causes LTTng files that clash with system headers
to be included before the system headers and breaks the build on
multiple platforms and architectures.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Iff7b6e7000d907dc076a467d223c91569b783861

src/common/Makefile.am
src/common/filter-grammar-test.c

index e6a88a1fabb1177fbb8b6d731317e2b1523c34b6..317ce37ba94d99909e36b9dcf473662e8e66093e 100644 (file)
@@ -184,7 +184,6 @@ noinst_PROGRAMS = filter-grammar-test
 filter_grammar_test_SOURCES = filter-grammar-test.c
 filter_grammar_test_LDADD = \
        libcommon.la
-filter_grammar_test_CFLAGS = -I $(top_builddir)/src/common
 
 all-local:
        @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
index bd21cf877adffbfe928f209eb34d98b205d9e49a..aec0a5c676148c2fcda52721aaac389a1af66085 100644 (file)
@@ -17,9 +17,9 @@
 #include <inttypes.h>
 
 #include <common/compat/errno.h>
-#include "common/bytecode/bytecode.h"
-#include "filter/filter-ast.h"
-#include "filter/filter-parser.h"
+#include <common/bytecode/bytecode.h>
+#include <common/filter/filter-ast.h>
+#include <common/filter/filter-parser.h>
 
 /* For error.h */
 int lttng_opt_quiet = 1;
This page took 0.026354 seconds and 4 git commands to generate.