Message ID | 20201005135613.435932-1-pbonzini@redhat.com |
---|---|
Headers | show |
Series | Convert remaining submodules to meson, cleanup env var handling | expand |
On 10/5/20 8:56 AM, Paolo Bonzini wrote: > The main purpose of this series is to have a correct and consistent > handling of CFLAGS/CXXFLAGS/LDFLAGS environment variables: > > - correct: avoid that the -pie flag, used for the compiler checks in > the configure script, ends up being passed to Meson if an LDFLAGS > environment variable exists (patch 3) > > - consistent: ensure that CFLAGS that are set in the configure > script are persistent even if Meson is restarted; to do so, > make the configure script store them in the cross file it generates. > > In order to avoid having to deal with recursive make, patches 1 > and 2 integrate the Meson-based build system with the build of > embedded slirp and libfdt. This follows the lead of Richard's > patches to do the same with Capstone. > > Based-on: <20201003093851.324923-1-richard.henderson@linaro.org> > Supersedes: <20200923092617.1593722-1-pbonzini@redhat.com> > > Paolo Bonzini (4): > slirp: Convert Makefile bits to meson bits > dtc: Convert Makefile bits to meson bits > configure: do not clobber environment CFLAGS/CXXFLAGS/LDFLAGS > configure: consistently pass CFLAGS/CXXFLAGS/LDFLAGS to meson Tested-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~