summaryrefslogtreecommitdiff
path: root/configs/freebsd-dri
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-09-19 16:31:37 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-09-19 16:31:37 +0000
commitdc4bf43898e489cde5f6291d51c4ab4371fa285c (patch)
treeb353e72b05b7005c7ecd9b54f51d92f8ce2f2ae6 /configs/freebsd-dri
parentc42afefda146f29b93b21139ecbd436fee4931c4 (diff)
fix CFLAGS (bug 8344)
Diffstat (limited to 'configs/freebsd-dri')
-rw-r--r--configs/freebsd-dri6
1 files changed, 3 insertions, 3 deletions
diff --git a/configs/freebsd-dri b/configs/freebsd-dri
index 104e242289..bce5f01ed0 100644
--- a/configs/freebsd-dri
+++ b/configs/freebsd-dri
@@ -16,10 +16,10 @@ X11_INCLUDES = -I/usr/X11R6/include
DEFINES = -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
-DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN
-CFLAGS = -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math \
+CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) -Wmissing-prototypes -std=c99 -Wundef -ffast-math \
$(ASM_FLAGS) $(X11_INCLUDES) $(DEFINES)
-CXXFLAGS = $(DEFINES) -Wall -g -ansi -pedantic -fPIC
+CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) -Wall -ansi -pedantic $(ASM_FLAGS) $(X11_INCLUDES)
ASM_SOURCES =
@@ -29,7 +29,7 @@ DRI_LIB_DEPS = -L/usr/local/lib -lm -lpthread -lexpat $(LIBDRM_LIB)
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lm -lpthread $(LIBDRM_LIB)
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
-GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGL -lXt -lXm -lX11
+GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGL -lXt -lX11
# Directories