forked from OSchip/llvm-project
[Libomptarget] Fix LTO command line in test
Summary: The test passed -offload-lto instead of -foffload-lto.
This commit is contained in:
parent
bd519b9335
commit
6b0db92bbd
|
@ -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'):
|
||||
|
|
Loading…
Reference in New Issue