Mesa (gallium-mesa-7.4): xlib: Don't override DEFINES.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Mon May 25 14:57:18 UTC 2009


Module: Mesa
Branch: gallium-mesa-7.4
Commit: c36abd867f0dd8323b5c28108592bb5bbd68d408
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c36abd867f0dd8323b5c28108592bb5bbd68d408

Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon May 25 07:52:24 2009 -0700

xlib: Don't override DEFINES.

Specially, overriding -DUSE_XSHM will cause the xlib winsys to segfault.

---

 src/gallium/winsys/xlib/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/winsys/xlib/Makefile b/src/gallium/winsys/xlib/Makefile
index 7338df7..b0195b5 100644
--- a/src/gallium/winsys/xlib/Makefile
+++ b/src/gallium/winsys/xlib/Makefile
@@ -22,7 +22,7 @@ INCLUDE_DIRS = \
 	-I$(TOP)/src/gallium/state_trackers/glx/xlib \
 	-I$(TOP)/src/gallium/auxiliary
 
-DEFINES = \
+DEFINES += \
 	-DGALLIUM_SOFTPIPE \
 	-DGALLIUM_TRACE \
 	-DGALLIUM_BRW




More information about the mesa-commit mailing list