summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-24 00:22:58 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-24 00:22:58 +0200
commitbaae263841853c289d48ce172e614171167cf1dd (patch)
treea6ded66f2de2bfa3db970f71b97cbbeb66ff56ea /GNUmakefile
parentb0ea8b4cd62a40cf3324fae5dec79c4866491c70 (diff)
GNUmakefile: Respect the value of LLVM_CONFIG.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 3545e89..c637f6f 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -84,9 +84,9 @@ ToiletKit_LDFLAGS = -lgmp -lffi -ldl
ifeq ($(USE_LLVM),YES)
-ADDITIONAL_OBJCFLAGS += -DUSE_LLVM -DLLVM_MAJOR_VERSION=$(shell llvm-config --version | cut -f 1 -d.) -DLLVM_MINOR_VERSION=$(shell llvm-config --version | cut -f 2 -d. | sed s/svn//)
LLVM_CONFIG = llvm-config
-LLVM_LDFLAGS = $(shell $(LLVM_CONFIG) --ldflags) $(shell $(LLVM_CONFIG) --libs backend engine linker codegen transformutils scalaropts analysis ipo)
+ADDITIONAL_OBJCFLAGS += -DUSE_LLVM -DLLVM_MAJOR_VERSION=$(shell $(LLVM_CONFIG) --version | cut -f 1 -d.) -DLLVM_MINOR_VERSION=$(shell $(LLVM_CONFIG) --version | cut -f 2 -d. | sed s/svn//)
+LLVM_LDFLAGS = $(shell $(LLVM_CONFIG) --ldflags) $(shell $(LLVM_CONFIG) --libs backend interpreter engine linker codegen transformutils scalaropts analysis ipo)
endif
ifeq ($(BUILD_TOILET_LLVM),YES)