Mesa (lp-binning): llvmpipe: change configs/ linux-llvm from debug build to optimized build
Brian Paul
brianp at kemper.freedesktop.org
Mon Dec 21 20:37:59 UTC 2009
Module: Mesa
Branch: lp-binning
Commit: 04794080d2553a53f34a48b1aec7d2a630396d92
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=04794080d2553a53f34a48b1aec7d2a630396d92
Author: Brian Paul <brianp at vmware.com>
Date: Fri Dec 18 11:12:59 2009 -0700
llvmpipe: change configs/linux-llvm from debug build to optimized build
Basically equivalent to the SCons non-debug build now.
---
configs/linux-llvm | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/configs/linux-llvm b/configs/linux-llvm
index 19b53cc..ace4619 100644
--- a/configs/linux-llvm
+++ b/configs/linux-llvm
@@ -1,5 +1,5 @@
# -*-makefile-*-
-# Configuration for Linux and LLVM with debugging info
+# Configuration for Linux and LLVM with optimizations
# Builds the llvmpipe gallium driver
include $(TOP)/configs/linux
@@ -11,8 +11,10 @@ CONFIG_NAME = linux-llvm
# Add llvmpipe driver
GALLIUM_DRIVERS_DIRS += llvmpipe
-OPT_FLAGS = -g -ansi -pedantic
-DEFINES += -DDEBUG -DDEBUG_MATH -DGALLIUM_LLVMPIPE -DHAVE_UDIS86
+OPT_FLAGS = -O3 -ansi -pedantic
+ARCH_FLAGS = -m32 -mmmx -msse -msse2 -mstackrealign
+
+DEFINES += -DNDEBUG -DGALLIUM_LLVMPIPE -DHAVE_UDIS86
# override -std=c99
CFLAGS += -std=gnu99
More information about the mesa-commit
mailing list