Messages in this thread | | | Subject | Re: [PATCH v5 bpf-next 09/15] samples/bpf: use own flags but not HOSTCFLAGS | From | Sergei Shtylyov <> | Date | Fri, 11 Oct 2019 11:49:38 +0300 |
| |
More grammar nitpicking...
On 11.10.2019 3:28, Ivan Khoronzhuk wrote:
> While compiling natively, the host's cflags and ldflags are equal to > ones used from HOSTCFLAGS and HOSTLDFLAGS. When cross compiling it > should have own, used for target arch. While verification, for arm,
While verifying.
> arm64 and x86_64 the following flags were used always: > > -Wall -O2 > -fomit-frame-pointer > -Wmissing-prototypes > -Wstrict-prototypes > > So, add them as they were verified and used before adding > Makefile.target and lets omit "-fomit-frame-pointer" as were proposed > while review, as no sense in such optimization for samples. > > Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> [...]
MBR, Sergei
| |