From e1ada21e92f7de972bb328e248dcd67641841c25 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Cristian=20Rodr=C3=ADguez?= Date: Mon, 15 Jun 2015 13:36:51 -0300 Subject: [PATCH] buildsys: missing SECCOMP_CFLAGS in various places libcore, systemd and nspawn fail to build when seccomp headers are not in the include path. --- Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index a2e8709..c1516db 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1188,7 +1188,8 @@ libcore_la_CFLAGS = \ $(AUDIT_CFLAGS) \ $(KMOD_CFLAGS) \ $(APPARMOR_CFLAGS) \ - $(MOUNT_CFLAGS) + $(MOUNT_CFLAGS) \ + $(SECCOMP_CFLAGS) libcore_la_LIBADD = \ libshared.la \ @@ -1316,6 +1317,10 @@ src/resolve/dns_type-from-name.gperf: src/resolve/dns_type-list.txt systemd_SOURCES = \ src/core/main.c +systemd_CFLAGS = \ + $(AM_CFLAGS) \ + $(SECCOMP_CFLAGS) + systemd_LDADD = \ libcore.la @@ -2737,7 +2742,8 @@ systemd_nspawn_SOURCES = \ systemd_nspawn_CFLAGS = \ $(AM_CFLAGS) \ - $(BLKID_CFLAGS) + $(BLKID_CFLAGS) \ + $(SECCOMP_CFLAGS) systemd_nspawn_LDADD = \ libshared.la \ -- 2.7.4