Skip to content

Commit

Permalink
Makefile.rules: Use an absolute path to the module cache directory.
Browse files Browse the repository at this point in the history
This change is NFC, but it makes it more obvious in log files what happened.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@340286 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
adrian-prantl committed Aug 21, 2018
1 parent f6f930a commit 2e3ee0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/Python/lldbsuite/test/make/Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
# SHELL = /bin/sh -x

SRCDIR := $(shell dirname $(firstword $(MAKEFILE_LIST)))/
BUILDDIR := $(shell pwd)
THIS_FILE_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))/
LLDB_BASE_DIR := $(THIS_FILE_DIR)../../../../../

Expand Down Expand Up @@ -239,7 +240,7 @@ ifeq "$(MAKE_DWO)" "YES"
CFLAGS += -gsplit-dwarf
endif

CLANG_MODULE_CACHE_DIR := module-cache
CLANG_MODULE_CACHE_DIR := $(BUILDDIR)/module-cache

MANDATORY_MODULE_BUILD_CFLAGS := -fmodules -gmodules -fmodules-cache-path=$(CLANG_MODULE_CACHE_DIR)

Expand Down

0 comments on commit 2e3ee0f

Please sign in to comment.