summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2014-02-18 10:56:36 -0300
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-18 09:27:19 -0500
commit0b7005eb0a7daa38b89d6e8bd1e1c597677956b2 (patch)
treed59ea326b2eb16999de2a4bb3b4be87d7118481d /Makefile.am
parent234ed3eb09f0c8b871253691e0ef9309e68eeae8 (diff)
fix SECCOMP_CFLAGS usage
SECCOMP_CFLAGS must be in the global CFLAGS as <seccomp.h> is included in core/execute.h. when seccomp.h is not in the standard path.(i.e openSUSE has it in /usr/include/pkg/libseccomp/, precisely to catch this kind of bugs) compiling systemd fails.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 79c49e6f8c..18df6453e5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -196,6 +196,7 @@ AM_CPPFLAGS = \
-I $(top_srcdir)/src/libsystemd/sd-bus \
-I $(top_srcdir)/src/libsystemd/sd-event \
-I $(top_srcdir)/src/libsystemd/sd-rtnl \
+ $(SECCOMP_CFLAGS) \
$(OUR_CPPFLAGS)
AM_CFLAGS = $(OUR_CFLAGS)