From: patrick Date: Sun, 16 Apr 2017 19:28:25 +0000 (+0000) Subject: Disable colored diagnostics in LLVM's lld. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2f0e484f34c2f8cb24af4cc5da0f1ee38ebc7b9d;p=openbsd Disable colored diagnostics in LLVM's lld. Requested by deraadt@ --- diff --git a/gnu/llvm/tools/lld/ELF/DriverUtils.cpp b/gnu/llvm/tools/lld/ELF/DriverUtils.cpp index 5ba494d791d..36b4052d72a 100644 --- a/gnu/llvm/tools/lld/ELF/DriverUtils.cpp +++ b/gnu/llvm/tools/lld/ELF/DriverUtils.cpp @@ -59,7 +59,7 @@ static bool getColorDiagnostics(opt::InputArgList &Args) { auto *Arg = Args.getLastArg(OPT_color_diagnostics, OPT_color_diagnostics_eq, OPT_no_color_diagnostics); if (!Arg) - return Default; + return false; if (Arg->getOption().getID() == OPT_color_diagnostics) return true; if (Arg->getOption().getID() == OPT_no_color_diagnostics)