From baae263841853c289d48ce172e614171167cf1dd Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 24 Aug 2008 00:22:58 +0200 Subject: GNUmakefile: Respect the value of LLVM_CONFIG. --- GNUmakefile | 4 ++-- 1 file 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) -- cgit v1.2.3