summaryrefslogtreecommitdiffstats
path: root/configs
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
parent7e54d7d3d6153895c5301cd16c7ba76a126f06ee (diff)
downloadexternal_mesa3d-0996a23e3d21383712295d52dccd98ff0e166c6e.zip
external_mesa3d-0996a23e3d21383712295d52dccd98ff0e166c6e.tar.gz
external_mesa3d-0996a23e3d21383712295d52dccd98ff0e166c6e.tar.bz2
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')
-rw-r--r--configs/linux-cell5
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/linux-cell b/configs/linux-cell
index df08d26..d58a7a6 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