]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
buildsys: missing SECCOMP_CFLAGS in various places 209/head
authorCristian Rodríguez <crrodriguez@opensuse.org>
Mon, 15 Jun 2015 16:36:51 +0000 (13:36 -0300)
committerCristian Rodríguez <crrodriguez@opensuse.org>
Mon, 15 Jun 2015 16:36:51 +0000 (13:36 -0300)
libcore, systemd and nspawn fail to build when seccomp headers
are not in the include path.

Makefile.am

index a2e8709e5236f746048c6a159d5b4a0773b9dbd0..c1516db087770a19c8f5b5e2f0d7422b131630f2 100644 (file)
@@ -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 \