[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170422.154501.1876167225428231606.davem@davemloft.net>
Date: Sat, 22 Apr 2017 15:45:01 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: alexei.starovoitov@...il.com
CC: daniel@...earbox.net, netdev@...r.kernel.org
Subject: tools/testing/selftests/bpf/Makefile
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.
There are other places that want stuff like this, so let's do it
right.
In every
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.
Powered by blists - more mailing lists