summaryrefslogtreecommitdiff
path: root/dist/Mesa/configs/linux-fbdev
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-02-12 21:09:28 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-02-12 21:09:28 +0000
commitb597d23cbc3cc1c1361b89e621fcca7ddf9c024a (patch)
tree931175127192ecb3f18f61b71ed40d57e5612576 /dist/Mesa/configs/linux-fbdev
parent95e90dfb93882027d8e88ed60c6d24fb226511e7 (diff)
Update to Mesa 7.0.2. Tested by naddy@ (full ports build), simon@
and oga@ (with dri enabled).
Diffstat (limited to 'dist/Mesa/configs/linux-fbdev')
-rw-r--r--dist/Mesa/configs/linux-fbdev11
1 files changed, 5 insertions, 6 deletions
diff --git a/dist/Mesa/configs/linux-fbdev b/dist/Mesa/configs/linux-fbdev
index 7a5d1b600..69d10127c 100644
--- a/dist/Mesa/configs/linux-fbdev
+++ b/dist/Mesa/configs/linux-fbdev
@@ -4,17 +4,16 @@ include $(TOP)/configs/linux
CONFIG_NAME = linux-fbdev
-DRIVER_DIRS = fbdev
-
-SRC_DIRS = mesa glu glut/fbdev
-
-CFLAGS = -O3 -ffast-math -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS -DUSE_GLFBDEV_DRIVER
+CFLAGS = -O3 -ffast-math -ansi -pedantic -fPIC -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS -DUSE_GLFBDEV_DRIVER
+# Work around aliasing bugs - developers should comment this out
+CFLAGS += -fno-strict-aliasing
SRC_DIRS = mesa glu glut/fbdev
-DRIVER_DIRS = fbdev
+DRIVER_DIRS = fbdev osmesa
PROGRAM_DIRS = fbdev demos redbook samples
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread
+OSMESA_LIB_DEPS = -lm -lpthread
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lgpm -lm