From c4ed95c85bf8ef900cff6444f8f3c97495b1b7bc Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Thu, 13 Feb 2025 08:13:45 -0600 Subject: [Flang] Fix leftover use of 'OPT_nogpulib' Summary: This didn't show up as a failure in precommit and I don't build flang so this slipped by. --- flang/lib/Frontend/CompilerInvocation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flang/lib/Frontend/CompilerInvocation.cpp') diff --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp index 3eb413e..d4d3971 100644 --- a/flang/lib/Frontend/CompilerInvocation.cpp +++ b/flang/lib/Frontend/CompilerInvocation.cpp @@ -1092,7 +1092,7 @@ static bool parseOpenMPArgs(CompilerInvocation &res, llvm::opt::ArgList &args, args.hasArg(clang::driver::options::OPT_fopenmp_target_debug)) res.getLangOpts().OpenMPTargetDebug = 1; } - if (args.hasArg(clang::driver::options::OPT_nogpulib)) + if (args.hasArg(clang::driver::options::OPT_no_offloadlib)) res.getLangOpts().NoGPULib = 1; } -- cgit v1.1