Stop using the MODULES_SDK variable in -D flags for the C++ compiler

Swift SVN r23097
This commit is contained in:
Dmitri Hrybenko
2014-11-04 05:44:12 +00:00
parent 05fd8fab81
commit 1347b446c9
10 changed files with 13 additions and 31 deletions

View File

@@ -35,13 +35,8 @@ static llvm::cl::list<std::string>
InputNames(llvm::cl::Positional, llvm::cl::desc("compiled_swift_file1.o ..."),
llvm::cl::OneOrMore);
#ifndef SWIFT_MODULES_SDK
#define SWIFT_MODULES_SDK ""
#endif
static llvm::cl::opt<std::string>
SDK("sdk", llvm::cl::desc("path to the SDK to build against"),
llvm::cl::init(SWIFT_MODULES_SDK));
SDK("sdk", llvm::cl::desc("path to the SDK to build against"));
static llvm::cl::opt<bool>
DumpModule("dump-module",