X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=configs%2Flinux-directfb;h=9ae3de96d1c9c78465374846d3d1fb102293534d;hb=ee2a5f307a026c1c258d3f7616d46cc7230d77ce;hp=2ed94fe27506ad41cda65703f2e8fb5a1028d67f;hpb=a414173105a18a0c6ed3b03ef986eb6eb30f7a58;p=mesa.git diff --git a/configs/linux-directfb b/configs/linux-directfb index 2ed94fe2750..9ae3de96d1c 100644 --- a/configs/linux-directfb +++ b/configs/linux-directfb @@ -13,6 +13,10 @@ CFLAGS = -Wall -O3 -ffast-math -fPIC -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -D CXXFLAGS = -Wall -O3 -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE +# Work around aliasing bugs - developers should comment this out +CFLAGS += -fno-strict-aliasing +CXXFLAGS += -fno-strict-aliasing + HAVE_X86 = $(shell uname -m | grep 'i[3-6]86' >/dev/null && echo yes) ifeq ($(HAVE_X86), yes) CFLAGS += -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM @@ -22,7 +26,7 @@ ifeq ($(HAVE_X86), yes) endif # Directories -SRC_DIRS = gallium mesa glu glut/directfb +SRC_DIRS = gallium mesa glu glut/directfb glew GLU_DIRS = sgi DRIVER_DIRS = directfb PROGRAM_DIRS = demos directfb