CFLAGS

Jon jon_p_griffiths at yahoo.com
Fri Mar 14 11:33:00 CST 2003


Hi,

This patch changes configure.ac to respect the users CFLAGS by adding options 
before it, not after. This means you can properly override the flags set by 
./configure, by setting CFLAGS in your environment before running it. This in 
turn means you can turn off warnings, for example adding -Wno-unused when 
building without trace or debug messages. Also you can turn off optimisation 
(for faster builds) with -O0, or optimise for size with -Os.

You need to re-run 'autoconf' after applying to get the changes.

License: X11

Cheers,
Jon

ChangeLog:

  Jon Griffiths <jon_p_griffiths at yahoo.com>

  +configure.ac
   Allow the users CFLAGS to override our settings

-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure_ac.diff
Type: text/x-diff
Size: 1337 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030314/9acc351f/configure_ac.bin


More information about the wine-patches mailing list