build: Add missing SECCOMP_CFLAGS to test-seccomp and test-execute targets (#5924)
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Tue, 9 May 2017 17:31:38 +0000 (19:31 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 9 May 2017 17:31:38 +0000 (19:31 +0200)
Makefile.am

index d565978..7f5e1c3 100644 (file)
@@ -2139,6 +2139,10 @@ test_acl_util_LDADD = \
 test_seccomp_SOURCES = \
        src/test/test-seccomp.c
 
+test_seccomp_CFLAGS = \
+       $(AM_CFLAGS) \
+       $(SECCOMP_CFLAGS)
+
 test_seccomp_LDADD = \
        libsystemd-shared.la \
        $(SECCOMP_LIBS)
@@ -2435,6 +2439,7 @@ test_execute_SOURCES = \
 
 test_execute_CFLAGS = \
        $(AM_CFLAGS) \
+       $(SECCOMP_CFLAGS) \
        $(MOUNT_CFLAGS)
 
 test_execute_LDADD = \