Re: [PATCH 04/10] configure: create native file with contents of $host_cc

2023-08-31 Thread Paolo Bonzini
On Tue, Aug 29, 2023 at 7:14 PM Daniel P. Berrangé wrote: > > On Tue, Aug 29, 2023 at 10:29:25AM +0200, Paolo Bonzini wrote: > > The argument of --host-cc is not obeyed when cross compiling. To avoid > > this issue, place it in a configuration file and pass it to meson > > with --native-file. > >

Re: [PATCH 04/10] configure: create native file with contents of $host_cc

2023-08-29 Thread Richard Henderson
On 8/29/23 01:29, Paolo Bonzini wrote: The argument of --host-cc is not obeyed when cross compiling. To avoid this issue, place it in a configuration file and pass it to meson with --native-file. While at it, clarify that --host-cc is not obeyed anyway when_not_ cross compiling. Signed-off-by:

Re: [PATCH 04/10] configure: create native file with contents of $host_cc

2023-08-29 Thread Daniel P . Berrangé
On Tue, Aug 29, 2023 at 10:29:25AM +0200, Paolo Bonzini wrote: > The argument of --host-cc is not obeyed when cross compiling. To avoid > this issue, place it in a configuration file and pass it to meson > with --native-file. > > While at it, clarify that --host-cc is not obeyed anyway when _not_

Re: [PATCH 04/10] configure: create native file with contents of $host_cc

2023-08-29 Thread Peter Maydell
On Tue, 29 Aug 2023 at 09:31, Paolo Bonzini wrote: > > The argument of --host-cc is not obeyed when cross compiling. To avoid > this issue, place it in a configuration file and pass it to meson > with --native-file. > > While at it, clarify that --host-cc is not obeyed anyway when _not_ > cross c

[PATCH 04/10] configure: create native file with contents of $host_cc

2023-08-29 Thread Paolo Bonzini
The argument of --host-cc is not obeyed when cross compiling. To avoid this issue, place it in a configuration file and pass it to meson with --native-file. While at it, clarify that --host-cc is not obeyed anyway when _not_ cross compiling. Signed-off-by: Paolo Bonzini --- configure | 11