summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-02-13 18:22:33 +0100
committerRichard Braun <rbraun@sceen.net>2017-02-13 18:22:33 +0100
commit0b83b77f9311c08f0b8f1156fccc097ef44f03ae (patch)
treeccad2295c5d62ba1fc06c7b4c94e55aa4124e98b
parente1b3d3912f4cf3696bd4acc1d551aa3a343a5145 (diff)
Force the use of llvm-config-3.8
This is what my current build system has and I'm not aware of a clean and easy way to make it more general.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d4c4ff3..5fcc27e 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,8 @@ SOURCES = \
OBJECTS = $(patsubst %.cpp,%.o,$(SOURCES))
LLVM_COMPONENTS = all
-LLVM_CXXFLAGS = $(shell llvm-config --cxxflags)
-LLVM_LDFLAGS = $(shell llvm-config --ldflags)
+LLVM_CXXFLAGS = $(shell llvm-config-3.8 --cxxflags)
+LLVM_LDFLAGS = $(shell llvm-config-3.8 --ldflags)
CXXFLAGS = -std=c++11 -fPIC -Wall -fno-strict-aliasing
CXXFLAGS += -fvisibility-inlines-hidden -fno-exceptions -fno-rtti