aboutsummaryrefslogtreecommitdiffstats
path: root/configs/linux-llvm
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2008-01-04 09:27:42 -0500
committerZack Rusin <[email protected]>2008-01-04 09:27:42 -0500
commit9789c301b476b1127f847144fd5c8313e6ba8be8 (patch)
tree9d0de9d3d09063870b8671e2bec6679e1dd19d23 /configs/linux-llvm
parent3385f3d250df1ad6899c0ac59a8f6b845cc5d504 (diff)
llvm: we need custom rules so had to redo the build a little bit
also don't use sse when llvm is enabled
Diffstat (limited to 'configs/linux-llvm')
-rw-r--r--configs/linux-llvm8
1 files changed, 4 insertions, 4 deletions
diff --git a/configs/linux-llvm b/configs/linux-llvm
index 6d1f31daa27..915189f4625 100644
--- a/configs/linux-llvm
+++ b/configs/linux-llvm
@@ -1,3 +1,4 @@
+# -*-makefile-*-
# Configuration for Linux and LLVM with debugging info
include $(TOP)/configs/linux
@@ -5,7 +6,7 @@ include $(TOP)/configs/linux
CONFIG_NAME = linux-llvm
OPT_FLAGS = -g -ansi -pedantic
-DEFINES += -DDEBUG -DDEBUG_MATH
+DEFINES += -DDEBUG -DDEBUG_MATH -DMESA_LLVM=1
LLVM_VERSION := $(shell llvm-config --version)
@@ -18,9 +19,8 @@ else
endif
ifeq ($(MESA_LLVM),1)
-# LLVM_CFLAGS=`llvm-config --cflags` -DMESA_LLVM=1
- LLVM_CFLAGS=-DMESA_LLVM=1
- LLVM_CXXFLAGS=`llvm-config --cxxflags` -DMESA_LLVM=1 -Wno-long-long
+# LLVM_CFLAGS=`llvm-config --cflags`
+ LLVM_CXXFLAGS=`llvm-config --cxxflags` -Wno-long-long
LLVM_LDFLAGS=`llvm-config --ldflags`
LLVM_LIBS=`llvm-config --libs`
MKLIB_OPTIONS=-cplusplus