Re: [PATCH] build: pass cflags in subproject

2024-03-15 Thread Thomas Monjalon
08/03/2024 15:24, David Marchand: > On Fri, Mar 8, 2024 at 12:59 PM Robin Jarry wrote: > > > > When DPDK is used as a subproject, include the required compile > > arguments so that the parent project is also built with the appropriate > > cflags (most importantly -march). Use the same cflags as pk

Re: [PATCH] build: pass cflags in subproject

2024-03-08 Thread David Marchand
On Fri, Mar 8, 2024 at 12:59 PM Robin Jarry wrote: > > When DPDK is used as a subproject, include the required compile > arguments so that the parent project is also built with the appropriate > cflags (most importantly -march). Use the same cflags as pkg-config. > > Fixes: f93a605f2d6e ("build: a

[PATCH] build: pass cflags in subproject

2024-03-08 Thread Robin Jarry
When DPDK is used as a subproject, include the required compile arguments so that the parent project is also built with the appropriate cflags (most importantly -march). Use the same cflags as pkg-config. Fixes: f93a605f2d6e ("build: add definitions for use as Meson subproject") Cc: sta...@dpdk.or