Re: configure: How to pass flags to the Objective-C compiler?

2022-02-23 Thread Joshua Seaton
> You can use this patch (which is going to be merged soon): Any ETA on when this will merge? > This entry in the machine file affects the compilation steps: > > + test -n "$objcc" && echo "objc_args = [$(meson_quote $OBJCFLAGS > $EXTRA_OBJCFLAGS)]" >> $cross Great! I had naively assumed that

Re: [PATCH] configure: Support empty prefixes

2022-02-22 Thread Joshua Seaton
s unwanted, that's completely okay by me; although I'd be curious to hear why it might be regarded as undesirable. Joshua. On Thu, Feb 17, 2022 at 3:50 PM Paolo Bonzini wrote: > > On 2/17/22 19:42, Joshua Seaton wrote: > > At least as of v5 (before the meson build), empty

Re: configure: How to pass flags to the Objective-C compiler?

2022-02-19 Thread Joshua Seaton
how the meson build works). Joshua. On Fri, Feb 18, 2022 at 2:14 PM Philippe Mathieu-Daudé wrote: > > Hi Joshua, > > On 18/2/22 22:58, Joshua Seaton wrote: > > Hi all, > > > > How does one pass Objective-C compilation flags (e.g., a sysroot > > spec

configure: How to pass flags to the Objective-C compiler?

2022-02-18 Thread Joshua Seaton
Hi all, How does one pass Objective-C compilation flags (e.g., a sysroot specification) when configuring/building? `configure` exposes `--extra-cflags` and `--extra-cxxflags` for C/C++ compilation, but there isn't an equivalent for Objective-C. In my particular case, I'd like to specify a

[PATCH] configure: Support empty prefixes

2022-02-17 Thread Joshua Seaton
At least as of v5 (before the meson build), empty `--prefix` values were supported; this seems to have fallen out along the way. This change reintroduces support. Tested locally with empty and non-empty values of `--prefix`. Signed-off-by: Joshua Seaton --- configure | 33