summaryrefslogtreecommitdiff
path: root/dist/Mesa/configs/linux-fbdev
diff options
context:
space:
mode:
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