diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2019-10-11 03:27:58 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-10-13 02:08:59 +0300 |
commit | 0e865aedad571b93b2d8bb780f17befd5ee4b308 (patch) | |
tree | 163526c12e274dfe7551dda3db6ff31a1dd97aad /drivers/pcmcia/sa1100_generic.c | |
parent | 2a560df7c147abcced2ff8c3b5572e0b1b36ac3f (diff) | |
download | linux-0e865aedad571b93b2d8bb780f17befd5ee4b308.tar.xz |
samples/bpf: Use __LINUX_ARM_ARCH__ selector for arm
For arm, -D__LINUX_ARM_ARCH__=X is min version used as instruction
set selector and is absolutely required while parsing some parts of
headers. It's present in KBUILD_CFLAGS but not in autoconf.h, so let's
retrieve it from and add to programs cflags. In another case errors
like "SMP is not supported" for armv7 and bunch of other errors are
issued resulting to incorrect final object.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191011002808.28206-6-ivan.khoronzhuk@linaro.org
Diffstat (limited to 'drivers/pcmcia/sa1100_generic.c')
0 files changed, 0 insertions, 0 deletions