samples/seccomp: fix 31 bit build on s390
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 8 Sep 2012 08:23:42 +0000 (10:23 +0200)
committerJames Morris <james.l.morris@oracle.com>
Wed, 12 Sep 2012 02:55:31 +0000 (12:55 +1000)
commitb25b09ecf98bf6a32f3732281c2db13be6aeb14c
tree4d7d0e8ddbca40c4d125306e2d9ea3df76f617be
parent2e4930eb7c8fb20a39dfb5f8a8f80402710dcea8
samples/seccomp: fix 31 bit build on s390

On s390 the flag to force 31 builds is -m31 instead of -m32 unlike
on all (?) other architectures.

Fixes this compile error:

  HOSTCC  samples/seccomp/bpf-direct.o
cc1: error: unrecognized command line option "-m32"
make[2]: *** [samples/seccomp/bpf-direct.o] Error 1

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.l.morris@oracle.com>
samples/seccomp/Makefile