[PATCH libX11 0/1] config: move CWARNFLAGS from configure.ac to Makefile.am

Gaetan Nadon memsize at videotron.ca
Wed Feb 17 13:54:04 PST 2010


Compiler warning flags should be explicitly set in the makefile
rather than being merged with other packages compiler flags.

The patch takes CWARNFLAGS out of this statement and moves it to AM_CFLAGS
X11_CFLAGS="$CWARNFLAGS $X11_CFLAGS $XTHREAD_CFLAGS"

Similar patches have been created for the following libraries.
These are the last modules in xorg to have such statements.

lib/libAppleWM
lib/libdmx
lib/libfontenc
lib/libICE
lib/libX11
lib/libXau
lib/libXcursor
lib/libXdmcp
lib/libXi
lib/libXinerama
lib/libXrandr
lib/libXRes
lib/libXScrnSaver
lib/libXtst
lib/libXxf86dga

Gaetan Nadon (1):
  config: move CWARNFLAGS from configure.ac to Makefile.am

 configure.ac                   |    4 +---
 modules/im/ximcp/Makefile.am   |    3 ++-
 modules/lc/Utf8/Makefile.am    |    3 ++-
 modules/lc/def/Makefile.am     |    3 ++-
 modules/lc/gen/Makefile.am     |    3 ++-
 modules/lc/xlocale/Makefile.am |    3 ++-
 modules/om/generic/Makefile.am |    3 ++-
 src/Makefile.am                |    3 ++-
 src/util/Makefile.am           |    4 +++-
 src/xcms/Makefile.am           |    3 ++-
 src/xkb/Makefile.am            |    3 ++-
 src/xlibi18n/Makefile.am       |    3 ++-
 12 files changed, 24 insertions(+), 14 deletions(-)



More information about the xorg-devel mailing list