From: Brian Paul Date: Wed, 11 Feb 2009 02:33:02 +0000 (-0700) Subject: cell: asst build fixes in linux-cell config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0996a23e3d21383712295d52dccd98ff0e166c6e;p=mesa.git 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. --- 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