On Sat, Apr 22, 2017 at 03:45:01PM -0400, David Miller wrote:
>
> Alexei, that unconditional -D__x86_64__ isn't going to work. It in
> fact makes the build break on sparc because the types.h asm headers
> explicitly check for things like __sparc__ && __arch64__ etc.
yeah. it was a quick workarou
very
arch/${ARCH}/Makefile
extract out the "-DXXX" stuff from CHECKFLAGS into a new Makefile
variable, expand that into CHECKFLAGS and use the new variable in
places like
tools/testing/selftests/bpf/Makefile
and
tools/testing/selftests/ipc/Makefile
Thanks.