llvmpipe: change configs/linux-llvm from debug build to optimized build
authorBrian Paul <brianp@vmware.com>
Fri, 18 Dec 2009 18:12:59 +0000 (11:12 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 18 Dec 2009 18:13:06 +0000 (11:13 -0700)
Basically equivalent to the SCons non-debug build now.

configs/linux-llvm

index 19b53cc..ace4619 100644 (file)
@@ -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