Makefile.rules: Normalize use of trailing slashes in path variables.

llvm-svn: 356711
This commit is contained in:
Adrian Prantl 2019-03-21 20:36:23 +00:00
parent 084b0c2f03
commit 74f0e2cc39
1 changed files with 4 additions and 4 deletions

View File

@ -28,10 +28,10 @@
# Uncomment line below for debugging shell commands
# SHELL = /bin/sh -x
SRCDIR := $(shell dirname $(firstword $(MAKEFILE_LIST)))/
SRCDIR := $(shell dirname $(firstword $(MAKEFILE_LIST)))
BUILDDIR := $(shell pwd)
THIS_FILE_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))/
LLDB_BASE_DIR := $(THIS_FILE_DIR)../../../../../
THIS_FILE_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))
LLDB_BASE_DIR := $(THIS_FILE_DIR)/../../../../../
#----------------------------------------------------------------------
# If OS is not defined, use 'uname -s' to determine the OS name.
@ -275,7 +275,7 @@ endif
CFLAGS += -I$(SRCDIR) -I$(THIS_FILE_DIR)
ifndef NO_TEST_COMMON_H
CFLAGS += -include $(THIS_FILE_DIR)test_common.h
CFLAGS += -include $(THIS_FILE_DIR)/test_common.h
endif
CFLAGS += $(NO_LIMIT_DEBUG_INFO_FLAGS) $(ARCH_CFLAGS) $(CFLAGS_EXTRAS)