]> granicus.if.org Git - clang/commitdiff
-funit-at-a-time is the default however some current makefiles pass -fno-unit-at...
authorEdward O'Callaghan <eocallaghan@auroraux.org>
Tue, 13 Oct 2009 16:41:34 +0000 (16:41 +0000)
committerEdward O'Callaghan <eocallaghan@auroraux.org>
Tue, 13 Oct 2009 16:41:34 +0000 (16:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83976 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index 77f2a98f27f9c50d355946780f5454e76c994159..fc91e4c437997cebc0ec28b161e0a510b3321b1f 100644 (file)
@@ -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.