From 0996a23e3d21383712295d52dccd98ff0e166c6e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 10 Feb 2009 19:33:02 -0700 Subject: [PATCH] cell: asst build fixes in linux-cell config Add -D_SVID_SOURCE to silence warnings when building glx files. Don't build the non-gallium drivers. --- configs/linux-cell | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/linux-cell b/configs/linux-cell index df08d262bd3..d58a7a6ec72 100644 --- a/configs/linux-cell +++ b/configs/linux-cell @@ -28,13 +28,16 @@ SDK = /opt/cell/sdk/usr CFLAGS = $(OPT_FLAGS) -Wall -Winline -Wmissing-prototypes \ -fPIC -m32 -std=c99 -mabi=altivec -maltivec \ -I. -I$(SDK)/include \ - -DGALLIUM_CELL -DUSE_XSHM -D_BSD_SOURCE + -DGALLIUM_CELL -DUSE_XSHM -D_BSD_SOURCE -D_SVID_SOURCE CXXFLAGS = $(CFLAGS) # Omitting glw here: SRC_DIRS = gallium mesa gallium/winsys glu glut/glx glew +# Build no traditional Mesa drivers: +DRIVER_DIRS = + MKDEP_OPTIONS = -fdepend -Y -- 2.30.2