diff options
author | Chad Rosier <mcrosier@codeaurora.org> | 2016-01-26 16:16:53 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@codeaurora.org> | 2016-01-26 16:16:53 +0000 |
commit | 99cfb7b495d5e3628071b74ae18f486328315f5d (patch) | |
tree | b6a8a7822fbea1e946c18e3b0b3ff5e48be70e7f /lib | |
parent | 71320339649c8f7022aeeb68dd2743eb83be0bc6 (diff) | |
download | clang-99cfb7b495d5e3628071b74ae18f486328315f5d.tar.gz |
Revert "[Driver] Make sure -fno-math-builtin option is being passed by the driver."
This reverts commit r258814.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@258815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Driver/Tools.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index a53319202f..faec8a1c3f 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -5465,13 +5465,12 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, options::OPT_fno_apple_pragma_pack, false)) CmdArgs.push_back("-fapple-pragma-pack"); - // Process -fno-math-builtin options. // le32-specific flags: // -fno-math-builtin: clang should not convert math builtins to intrinsics // by default. - if (Args.hasArg(options::OPT_fno_math_builtin) || - getToolChain().getArch() == llvm::Triple::le32) + if (getToolChain().getArch() == llvm::Triple::le32) { CmdArgs.push_back("-fno-math-builtin"); + } // Default to -fno-builtin-str{cat,cpy} on Darwin for ARM. // |