[Xcb] [PATCH util-renderutil 9/9] make: compile the library with standard xorg warning flags

Gaetan Nadon memsize at videotron.ca
Thu Feb 6 23:30:11 CET 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>
---
 renderutil/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

diff --git a/renderutil/Makefile.am b/renderutil/Makefile.am
index c9af2a7..3a51798 100644
--- a/renderutil/Makefile.am
+++ b/renderutil/Makefile.am
@@ -3,6 +3,7 @@ lib_LTLIBRARIES = libxcb-render-util.la
 
 xcbinclude_HEADERS = xcb_renderutil.h
 
+AM_CFLAGS = $(BASE_CFLAGS)
 AM_CPPFLAGS = $(XCB_CFLAGS) $(XCB_RENDER_CFLAGS)
 libxcb_render_util_la_SOURCES = cache.c util.c glyph.c
 libxcb_render_util_la_LIBADD = $(XCB_LIBS) $(XCB_RENDER_LIBS)
-- 
1.7.9.5



More information about the Xcb mailing list