From: Cristian Rodríguez Date: Tue, 18 Feb 2014 13:56:36 +0000 (-0300) Subject: fix SECCOMP_CFLAGS usage X-Git-Tag: v209~62 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0b7005eb0a7daa38b89d6e8bd1e1c597677956b2;p=elogind.git fix SECCOMP_CFLAGS usage SECCOMP_CFLAGS must be in the global CFLAGS as 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. --- diff --git a/Makefile.am b/Makefile.am index 79c49e6f8..18df6453e 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)