diff options
Diffstat (limited to 'lib/chaseccomp')
| -rw-r--r-- | lib/chaseccomp/Makefile | 2 | ||||
| -rwxr-xr-x | lib/chaseccomp/gen_defs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/chaseccomp/Makefile b/lib/chaseccomp/Makefile index 51934ace..648d4d52 100644 --- a/lib/chaseccomp/Makefile +++ b/lib/chaseccomp/Makefile @@ -6,7 +6,7 @@ chasc_defs_%.c: %.chasc common.chasc gen_defs chaseccomp.h ./gen_defs <$< >$@ chasc_defs_%: chasc_defs_%.c - $(CC) $< -o $@ + $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) %.chasc.expanded: chasc_defs_% ./$< >$@ diff --git a/lib/chaseccomp/gen_defs b/lib/chaseccomp/gen_defs index 41c3549b..5bf03d40 100755 --- a/lib/chaseccomp/gen_defs +++ b/lib/chaseccomp/gen_defs @@ -13,6 +13,8 @@ cat <<EOF static void determine_audit_arch(int sig, siginfo_t *info, void *ucontext) { + (void)sig; + (void)ucontext; printf("load arch\nifne %u deny\n", info->si_arch); } |