Skip to content

Commit efe90a8

Browse files
committed
[Instrumentation] fix CXX LLVM_CONFIG
1 parent 784be10 commit efe90a8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

instrumentation/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
CXX ?= clang++
2-
LLVM_CONFIG ?= llvm-config
1+
CXX = clang++
2+
LLVM_CONFIG = llvm-config
33

44
ifdef BASE
55
CXX := $(BASE)/bin/clang++
66
LLVM_CONFIG := $(BASE)/bin/llvm-config
77
endif
88

9+
$(info CXX is set to $(CXX))
10+
$(info LLVM_CONFIG is set to $(LLVM_CONFIG))
11+
912
CXXFLAGS = $(shell $(LLVM_CONFIG) --cxxflags) -std=c++17 -fno-rtti -fPIC
1013
LDFLAGS = $(shell $(LLVM_CONFIG) --ldflags)
1114
PLUGIN_FLAGS = -Xclang -fpass-plugin=./inst-pass.so

0 commit comments

Comments
 (0)