diff options
-rw-r--r-- | samples/seccomp/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/seccomp/Makefile b/samples/seccomp/Makefile index bbbd276659ba..7203e66dcd6f 100644 --- a/samples/seccomp/Makefile +++ b/samples/seccomp/Makefile | |||
@@ -19,6 +19,7 @@ bpf-direct-objs := bpf-direct.o | |||
19 | 19 | ||
20 | # Try to match the kernel target. | 20 | # Try to match the kernel target. |
21 | ifndef CONFIG_64BIT | 21 | ifndef CONFIG_64BIT |
22 | ifndef CROSS_COMPILE | ||
22 | 23 | ||
23 | # s390 has -m31 flag to build 31 bit binaries | 24 | # s390 has -m31 flag to build 31 bit binaries |
24 | ifndef CONFIG_S390 | 25 | ifndef CONFIG_S390 |
@@ -35,6 +36,7 @@ HOSTLOADLIBES_bpf-direct += $(MFLAG) | |||
35 | HOSTLOADLIBES_bpf-fancy += $(MFLAG) | 36 | HOSTLOADLIBES_bpf-fancy += $(MFLAG) |
36 | HOSTLOADLIBES_dropper += $(MFLAG) | 37 | HOSTLOADLIBES_dropper += $(MFLAG) |
37 | endif | 38 | endif |
39 | endif | ||
38 | 40 | ||
39 | # Tell kbuild to always build the programs | 41 | # Tell kbuild to always build the programs |
40 | always := $(hostprogs-y) | 42 | always := $(hostprogs-y) |