forked from OSchip/llvm-project
Makefile.rules: Normalize use of trailing slashes in path variables.
llvm-svn: 356711
This commit is contained in:
parent
084b0c2f03
commit
74f0e2cc39
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue