diff options
| author | Keno Fischer <kfischer@college.harvard.edu> | 2014-09-09 04:52:37 +0000 |
|---|---|---|
| committer | Keno Fischer <kfischer@college.harvard.edu> | 2014-09-09 04:52:37 +0000 |
| commit | 15d5e2b4d88abd6150b90a8ceb8fdc3df195af09 (patch) | |
| tree | 8433cbd75df620978a18aeab107fb83232a45dda /lldb/source/Plugins/Process | |
| parent | 5c00c31cf8273b6f39ef370b763253927c863daf (diff) | |
| download | bcm5719-llvm-15d5e2b4d88abd6150b90a8ceb8fdc3df195af09.tar.gz bcm5719-llvm-15d5e2b4d88abd6150b90a8ceb8fdc3df195af09.zip | |
Fix configure & make build with python disabled
This makes sure that nothing that requires Python is being built
when the LLDB_DISABLE_PYTHON flag is being passed in.
It also changes a use of CPPFLAGS to CPP.Flags since the former is overridden
when external flags are passed in while the later is not. I'm not sure exactly
why LLDB_DISABLE_PYTHON is in CXXFLAGS rather than CPPFLAGS,
but cleaning that up is for another commit.
Differential Revision: http://reviews.llvm.org/D4918
llvm-svn: 217414
Diffstat (limited to 'lldb/source/Plugins/Process')
| -rw-r--r-- | lldb/source/Plugins/Process/FreeBSD/Makefile | 2 | ||||
| -rw-r--r-- | lldb/source/Plugins/Process/Linux/Makefile | 2 | ||||
| -rw-r--r-- | lldb/source/Plugins/Process/POSIX/Makefile | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/Makefile b/lldb/source/Plugins/Process/FreeBSD/Makefile index 8d16a4a2b4c..7f546540e55 100644 --- a/lldb/source/Plugins/Process/FreeBSD/Makefile +++ b/lldb/source/Plugins/Process/FreeBSD/Makefile @@ -12,6 +12,6 @@ LIBRARYNAME := lldbPluginProcessFreeBSD BUILD_ARCHIVE = 1 # Extend the include path so we may locate UnwindLLDB.h -CPPFLAGS += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility +CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility include $(LLDB_LEVEL)/Makefile diff --git a/lldb/source/Plugins/Process/Linux/Makefile b/lldb/source/Plugins/Process/Linux/Makefile index 850a0290b62..239e94d608e 100644 --- a/lldb/source/Plugins/Process/Linux/Makefile +++ b/lldb/source/Plugins/Process/Linux/Makefile @@ -12,6 +12,6 @@ LIBRARYNAME := lldbPluginProcessLinux BUILD_ARCHIVE = 1 # Extend the include path so we may locate UnwindLLDB.h -CPPFLAGS += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility +CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility include $(LLDB_LEVEL)/Makefile diff --git a/lldb/source/Plugins/Process/POSIX/Makefile b/lldb/source/Plugins/Process/POSIX/Makefile index 96b60cde021..e8ac3a8ae0e 100644 --- a/lldb/source/Plugins/Process/POSIX/Makefile +++ b/lldb/source/Plugins/Process/POSIX/Makefile @@ -14,19 +14,19 @@ BUILD_ARCHIVE = 1 include $(LLDB_LEVEL)/../../Makefile.config # Extend the include path so we may locate UnwindLLDB.h -CPPFLAGS += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility +CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility ifeq ($(HOST_OS),Linux) -CPPFLAGS += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Process/Linux +CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Process/Linux # Disable warning for now as offsetof is used with an index into a structure member array # in defining register info tables. -CPPFLAGS += -Wno-extended-offsetof +CPP.Flags += -Wno-extended-offsetof endif ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD)) # Extend the include path so we may locate ProcessMonitor -CPPFLAGS += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Process/FreeBSD +CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Process/FreeBSD endif include $(LLDB_LEVEL)/Makefile |

