summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-23 19:00:43 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-23 19:00:43 +0200
commitb108e91e354e7a5443db690ef558ab87402fcca8 (patch)
treec125d0b73b801b8c0b447e71863d7b920b1d9dd2 /GNUmakefile
parent3f63e832969932dfd43f6382b24a8a73377d33b9 (diff)
parent12c629db9035c4be51d106e1738aa91a2b74dfcc (diff)
Merge mulk_benkard@ssh.phx.nearlyfreespeech.net:/home/htdocs/code/mulklisp
Conflicts: GNUmakefile
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 445e0d6..29f1f93 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -84,7 +84,7 @@ ToiletKit_LDFLAGS = -lgmp -lffi -ldl
ifeq ($(USE_LLVM),YES)
-ADDITIONAL_OBJCFLAGS += -DUSE_LLVM
+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)
endif