diff options
author | Adrian Prantl <aprantl@apple.com> | 2018-08-21 15:46:15 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2018-08-21 15:46:15 +0000 |
commit | cd9f68ec058a0ef1e06672a8835d981099a51ccb (patch) | |
tree | 09fe193557c3b37a9667312f8e1cc28f22e0b76f /lldb/packages/Python/lldbsuite/test/make | |
parent | 8a012cbabf21c818717ecd5c4de1ada6e9529193 (diff) | |
download | bcm5719-llvm-cd9f68ec058a0ef1e06672a8835d981099a51ccb.tar.gz bcm5719-llvm-cd9f68ec058a0ef1e06672a8835d981099a51ccb.zip |
Makefile.rules: Use an absolute path to the module cache directory.
This change is NFC, but it makes it more obvious in log files what happened.
llvm-svn: 340286
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/make')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/make/Makefile.rules | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules index 32f41b24d5d..6bdbb535c66 100644 --- a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules +++ b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules @@ -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)../../../../../ @@ -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) |