On 9/20/20 2:30 AM, Paolo Bonzini wrote: > If the CFLAGS, CXXFLAGS or LDFLAGS variables are present in the environment, > any modification made within the configure script is passed down to Meson. > This is particularly undesirable for the "-pie" option, since it overrides > "-shared" and thus messes up the linker flags for shared modules. > > Using a separate variable therefore fixes the bug, while clarifying that > the scope of these CFLAGS is just the configure script. > > Reported-by: Frederic Bezies > Analyzed-by: Toolybird > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > ---
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~