cell: asst build fixes in linux-cell config
authorBrian Paul <brianp@vmware.com>
Wed, 11 Feb 2009 02:33:02 +0000 (19:33 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 11 Feb 2009 02:34:08 +0000 (19:34 -0700)
Add -D_SVID_SOURCE to silence warnings when building glx files.
Don't build the non-gallium drivers.

configs/linux-cell

index df08d262bd340bec0dcd536f72b8f3740f5cff12..d58a7a6ec728efde094b661143b354b6dc93e937 100644 (file)
@@ -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