[Libomptarget] Fix LTO command line in test
authorJoseph Huber <jhuber6@vols.utk.edu>
Wed, 20 Jul 2022 14:17:35 +0000 (10:17 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Wed, 20 Jul 2022 14:18:55 +0000 (10:18 -0400)
Summary:
The test passed -offload-lto instead of -foffload-lto.

openmp/libomptarget/test/lit.cfg

index 1b4aff4..e1d8e79 100644 (file)
@@ -107,7 +107,7 @@ else: # Unices
     if config.libomptarget_current_target.endswith('-oldDriver'):
         config.test_flags += " -fno-openmp-new-driver"
     if config.libomptarget_current_target.endswith('-LTO'):
-        config.test_flags += " -offload-lto"
+        config.test_flags += " -foffload-lto"
 
 def remove_suffix_if_present(name):
     if name.endswith('-oldDriver'):