diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2022-05-04 18:39:28 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2022-05-04 18:40:03 +0200 |
commit | 4a2061610726becfa5158e418c69800f5634b4c1 (patch) | |
tree | 376b947d164ffbe66834371847744742ea5ecef0 | |
parent | d7de15fd93fc654e5639d944cd4a6c7a29b02a73 (diff) | |
download | gcc-4a2061610726becfa5158e418c69800f5634b4c1.zip gcc-4a2061610726becfa5158e418c69800f5634b4c1.tar.gz gcc-4a2061610726becfa5158e418c69800f5634b4c1.tar.bz2 |
libgomp/plugin/plugin-gcn.c: Use -foffload-options= in err msg
While -foffload=-<flag> works (never documented legacy feature),
the documented way is to use -foffload-options=.
libgomp/ChangeLog:
* plugin/plugin-gcn.c (isa_matches_agent): Suggest -foffload-options.
-rw-r--r-- | libgomp/plugin/plugin-gcn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/plugin/plugin-gcn.c b/libgomp/plugin/plugin-gcn.c index f305d72..2b32f53 100644 --- a/libgomp/plugin/plugin-gcn.c +++ b/libgomp/plugin/plugin-gcn.c @@ -2352,7 +2352,7 @@ isa_matches_agent (struct agent_info *agent, Elf64_Ehdr *image) snprintf (msg, sizeof msg, "GCN code object ISA '%s' does not match GPU ISA '%s'.\n" - "Try to recompile with '-foffload=-march=%s'.\n", + "Try to recompile with '-foffload-options=-march=%s'.\n", isa_s, agent_isa_s, agent_isa_gcc_s); hsa_error (msg, HSA_STATUS_ERROR); |