Re: [Libguestfs] [PATCH] ruby: fix order of CFLAGS

2017-08-10 Thread Richard W.M. Jones
On Thu, Aug 10, 2017 at 03:08:33PM +0200, Pino Toscano wrote: > Shuffle the order of the various CFLAGS used when building the Ruby > extension: first the flags from manywarnings (gnulib), then libguestfs > own CFLAGS, and then -DGUESTFS_PRIVATE=1 (so it is not overridden). > > This matches also w

[Libguestfs] [PATCH] ruby: fix order of CFLAGS

2017-08-10 Thread Pino Toscano
Shuffle the order of the various CFLAGS used when building the Ruby extension: first the flags from manywarnings (gnulib), then libguestfs own CFLAGS, and then -DGUESTFS_PRIVATE=1 (so it is not overridden). This matches also what happens in automake parts, and makes it possible to override any fla