[Xcb] [PATCH util-wm 7/7] make: compile the library with standard xorg warning flags
Gaetan Nadon
memsize at videotron.ca
Thu Feb 6 13:55:53 PST 2014
The new BASE_CFLAGS variable contains only warning flags that do not
alter the generated byte code, unlike the deprecated CWARNFLAGS which
turns off the GNUCC strict aliasing optimization.
Package util-macros version 1.16 or later is required.
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
ewmh/Makefile.am | 2 +-
icccm/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ewmh/Makefile.am b/ewmh/Makefile.am
index c841e7b..ec94cb2 100644
--- a/ewmh/Makefile.am
+++ b/ewmh/Makefile.am
@@ -3,7 +3,7 @@ lib_LTLIBRARIES = libxcb-ewmh.la
nodist_xcbinclude_HEADERS = xcb_ewmh.h
-AM_CFLAGS = $(CWARNFLAGS)
+AM_CFLAGS = $(BASE_CFLAGS)
AM_CPPFLAGS = $(XCB_CFLAGS)
libxcb_ewmh_la_SOURCES = ewmh.c.m4 atomlist.m4 xcb_ewmh.h.m4
diff --git a/icccm/Makefile.am b/icccm/Makefile.am
index b7366b8..8dc2680 100644
--- a/icccm/Makefile.am
+++ b/icccm/Makefile.am
@@ -3,7 +3,7 @@ lib_LTLIBRARIES = libxcb-icccm.la
xcbinclude_HEADERS = xcb_icccm.h
-AM_CFLAGS = $(CWARNFLAGS)
+AM_CFLAGS = $(BASE_CFLAGS)
AM_CPPFLAGS = $(XCB_CFLAGS)
libxcb_icccm_la_SOURCES = icccm.c
--
1.7.9.5
More information about the Xcb
mailing list