diff options
author | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-10-13 16:41:34 +0000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-10-13 16:41:34 +0000 |
commit | fc460554f6d115026bdb89919f8171de2b4adc18 (patch) | |
tree | 29847341d9efa71d8f4d2d4eff016152d1208d74 | |
parent | 9bd98a440b31d3b957aa778890bbdf3c3d2ed565 (diff) | |
download | bcm5719-llvm-fc460554f6d115026bdb89919f8171de2b4adc18.tar.gz bcm5719-llvm-fc460554f6d115026bdb89919f8171de2b4adc18.zip |
-funit-at-a-time is the default however some current makefiles pass -fno-unit-at-a-time which is ignored by GCC, we should warn about this not error out.
llvm-svn: 83976
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 77f2a98f27f..fc91e4c4379 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -914,7 +914,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, if (Arg *A = Args.getLastArg(options::OPT_funit_at_a_time, options::OPT_fno_unit_at_a_time)) { if (A->getOption().matches(options::OPT_fno_unit_at_a_time)) - D.Diag(clang::diag::err_drv_clang_unsupported) << A->getAsString(Args); + D.Diag(clang::diag::warn_drv_clang_unsupported) << A->getAsString(Args); } // Default to -fno-builtin-str{cat,cpy} on Darwin for ARM. |