[Libomptarget] Fix LTO command line in test

Summary:
The test passed -offload-lto instead of -foffload-lto.
This commit is contained in:
Joseph Huber 2022-07-20 10:17:35 -04:00
parent bd519b9335
commit 6b0db92bbd
1 changed files with 1 additions and 1 deletions

View 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'):