diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-13 06:33:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-13 06:33:49 +0000 |
commit | 4d41765accd438b6bf982801b4603290446206e0 (patch) | |
tree | 869248266cf914771ca2d06fb69f8977870f88f2 | |
parent | ecca7536488e425417dcb005c39cc15ae1947aab (diff) |
the driver caught up. This makes -msse3 correctly set __SSE3__ etc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68943 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/clang-cc/clang-cc.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/clang-cc/clang-cc.cpp b/tools/clang-cc/clang-cc.cpp index 9ff59b55fd..31515a9c12 100644 --- a/tools/clang-cc/clang-cc.cpp +++ b/tools/clang-cc/clang-cc.cpp @@ -647,9 +647,7 @@ static void InitializeLanguageStandard(LangOptions &Options, LangKind LK, // -mattr list is treated by the code generator as a diff against the -mcpu // setting, but the driver should pass all enabled options as "+" settings. // This means that the target should only look at + settings. - if (!TargetFeatures.empty() - // FIXME: The driver is not quite yet ready for this. - && 0) { + if (!TargetFeatures.empty()) { std::string ErrorStr; int Opt = Target->HandleTargetFeatures(&TargetFeatures[0], TargetFeatures.size(), ErrorStr); |