[PATCH]: append -MMD to default CFLAGS
j at w1.fi
Fri Jan 11 22:22:49 EST 2008
On Wed, Jan 09, 2008 at 05:38:18PM +1000, Kel Modderman wrote:
> This patch allows the default CFLAGS to be overridden without possible
> (if any?) adverse effects of removing the -MMD flag that creates the dependency
> files for sourcing later in the build system.
This would look reasonable change for most cases, but since -MMD is not
a standard option that all C compilers can handle, I don't think I want
to apply a change that would hardcode -MMD to CFLAGS. It should remain
possible to compile wpa_supplicant with other compilers than gcc and it
least one of the test compilers I use happens to use the same
Makefile-based build system, but the compiler doesn't like -MMD..
Jouni Malinen PGP id EFC895FA
More information about the HostAP