summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-16 18:11:55 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-16 18:11:55 -0600
commit3fc926f3740da9ec27853d158243055f3cb43d43 (patch)
tree67b5f9e3b8945d45cac4776a1b5e1e4f122cf137 /configs
parente3bdd66bf69fb12fa02d161989755944077b280d (diff)
Remove many dependencies on mesa headers.
To build with mesa, need -DMESA in makefile/config file.
Diffstat (limited to 'configs')
-rw-r--r--configs/linux3
-rw-r--r--configs/linux-dri-debug2
2 files changed, 3 insertions, 2 deletions
diff --git a/configs/linux b/configs/linux
index 0d455ff46a..ed90fe4bc2 100644
--- a/configs/linux
+++ b/configs/linux
@@ -18,7 +18,8 @@ ARCH_FLAGS ?=
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
-D_BSD_SOURCE -D_GNU_SOURCE \
- -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN
+ -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN \
+ -DMESA
X11_INCLUDES = -I/usr/X11R6/include
diff --git a/configs/linux-dri-debug b/configs/linux-dri-debug
index c3a458459d..a7ce255e00 100644
--- a/configs/linux-dri-debug
+++ b/configs/linux-dri-debug
@@ -5,7 +5,7 @@ include $(TOP)/configs/linux-dri
CONFIG_NAME = linux-dri-debug
OPT_FLAGS = -O0 -g
-ARCH_FLAGS = -DDEBUG
+ARCH_FLAGS = -DDEBUG -DMESA
# Helpful to reduce the amount of stuff that gets built sometimes:
#DRI_DIRS = i915tex i915