mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 03:14:06 +08:00
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
18 lines
507 B
Makefile
18 lines
507 B
Makefile
##===- scripts/Makefile ------------------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file is distributed under the University of Illinois Open Source
|
|
# License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
LLDB_LEVEL := ..
|
|
include $(LLDB_LEVEL)/../../Makefile.config
|
|
|
|
ifeq (,$(findstring -DLLDB_DISABLE_PYTHON,$(CXXFLAGS)))
|
|
DIRS := Python
|
|
endif
|
|
|
|
include $(LLDB_LEVEL)/Makefile
|