[systemd-devel] [PATCH] fix SECCOMP_CFLAGS usage
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Tue Feb 18 06:27:04 PST 2014
On Tue, Feb 18, 2014 at 10:56:36AM -0300, Cristian Rodríguez wrote:
> 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.
> ---
> Makefile.am | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Makefile.am b/Makefile.am
> index 79c49e6..18df645 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)
>
Applied.
Zbyszek
More information about the systemd-devel
mailing list