summaryrefslogtreecommitdiff
path: root/configs/linux-cell
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-02-10 19:33:02 -0700
committerBrian Paul <brianp@vmware.com>2009-02-10 19:34:08 -0700
commit0996a23e3d21383712295d52dccd98ff0e166c6e (patch)
tree7da8d22fcd937e75a1fb06b08eb931d69871befc /configs/linux-cell
parent7e54d7d3d6153895c5301cd16c7ba76a126f06ee (diff)
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.
Diffstat (limited to 'configs/linux-cell')
-rw-r--r--configs/linux-cell5
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/linux-cell b/configs/linux-cell
index df08d262bd..d58a7a6ec7 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