Backport:Fix: Don't override user variables within the build system
[lttng-tools.git] / src / lib / lttng-ctl / filter / Makefile.am
index 13a9e195a5f24b11bc85a2862221c76fd9106d07..c96c88dd55820d33e07e3b28371d8feb561c7f2d 100644 (file)
@@ -1,5 +1,4 @@
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \
-                         -I$(srcdir) -I$(builddir)
+AM_CPPFLAGS += -I$(srcdir) -I$(builddir)
 
 noinst_PROGRAMS = filter-grammar-test
 noinst_LTLIBRARIES = libfilter.la
@@ -20,7 +19,7 @@ libfilter_la_SOURCES = \
        filter-bytecode.h \
        filter-ir.h \
        memstream.h
-libfilter_la_CFLAGS = -include filter-symbols.h
+libfilter_la_CFLAGS = -include filter-symbols.h $(AM_CFLAGS)
 
 AM_YFLAGS = -t -d -v
 
This page took 0.046405 seconds and 5 git commands to generate.