Re: [Nbd] [PATCH] build: Allow CFLAGS override during make
> On 14 Dec 2016, at 22:19, Eric Blake <eblake@...696...> wrote:
>
> Automake recommends the use of $(CFLAGS), not @CFLAGS@, because
> that allows a user to override CFLAGS at make time (with
> 'make CFLAGS=-g', for example) rather than being hard-coded to
> the CFLAGS in use during configure time. Use the preferred
> substitution style for ALL variables, not just CFLAGS.
Seems like a good plan, though my automake reading skills
aren't what they were, and right now I'm compiling on a mac,
so I might defer to Wouter.
--
Alex Bligh
Reply to: