Skip to content

Commit ecdeffb

Browse files
committed
build: Fix definition of LLC/LLVM_AS
Using bindir doesn't work on windows anymore. Something to do with us not actually installing it, but running directly from the build directory, maybe just an LLVM bug.
1 parent f0254e1 commit ecdeffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ LLVM_LDFLAGS_$(1)=$$(shell "$$(LLVM_CONFIG_$(1))" --ldflags)
237237
LLVM_CXXFLAGS_$(1)=$$(shell "$$(LLVM_CONFIG_$(1))" --cxxflags)
238238
LLVM_HOST_TRIPLE_$(1)=$$(shell "$$(LLVM_CONFIG_$(1))" --host-target)
239239

240-
LLVM_AS_$(1)=$$(LLVM_BINDIR_$(1))/llvm-as$$(X)
241-
LLC_$(1)=$$(LLVM_BINDIR_$(1))/llc$$(X)
240+
LLVM_AS_$(1)=$$(CFG_LLVM_INST_DIR_$(1))/bin/llvm-as$$(X)
241+
LLC_$(1)=$$(CFG_LLVM_INST_DIR_$(1))/bin/llc$$(X)
242242

243243
endef
244244

0 commit comments

Comments
 (0)