From 4656c53e125c90bd2ad0b8724efbb44dc042525d Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 17 Nov 2009 07:07:28 +0000 Subject: Move -fnext-runtime defaulting to driver (and change clang-cc default to -fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058 --- clang/lib/Basic/Targets.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'clang/lib/Basic') diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 6c58d0dcb2d..3a4d115db20 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -158,8 +158,6 @@ static void getDarwinIPhoneOSDefines(std::vector &Defs, /// GetDarwinLanguageOptions - Set the default language options for darwin. static void GetDarwinLanguageOptions(LangOptions &Opts, const llvm::Triple &Triple) { - Opts.NeXTRuntime = true; - unsigned MajorVersion = Triple.getDarwinMajorNumber(); // Blocks and stack protectors default to on for 10.6 (darwin10) and beyond. -- cgit v1.2.3