diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2020-01-30 12:27:17 +0100 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2020-01-30 12:27:17 +0100 |
commit | 5ab5d81b364ba500b288d9bcc1232ce7953a3b3f (patch) | |
tree | b74a4d964c9cc2368765843308dbb2714bf945d5 /libgomp/plugin | |
parent | b0e9b18ed432c4b7cb9a4b963b65911b4c103cbe (diff) |
Skip plugin-{gcn,hsa} for (-m)x32 (PR bootstrap/93409)
PR bootstrap/93409
* plugin/configfrag.ac (enable_offload_targets): Skip
HSA and GCN plugin besides -m32 also for -mx32.
* configure: Regenerate.
Diffstat (limited to 'libgomp/plugin')
-rw-r--r-- | libgomp/plugin/configfrag.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgomp/plugin/configfrag.ac b/libgomp/plugin/configfrag.ac index 9a424aa1c9c..fc91702a434 100644 --- a/libgomp/plugin/configfrag.ac +++ b/libgomp/plugin/configfrag.ac @@ -211,7 +211,7 @@ if test x"$enable_offload_targets" != x; then case "${target}" in x86_64-*-*) case " ${CC} ${CFLAGS} " in - *" -m32 "*) + *" -m32 "*|*" -mx32 "*) PLUGIN_HSA=0 ;; *) @@ -251,7 +251,7 @@ if test x"$enable_offload_targets" != x; then case "${target}" in x86_64-*-*) case " ${CC} ${CFLAGS} " in - *" -m32 "*) + *" -m32 "*|*" -mx32 "*) PLUGIN_GCN=0 ;; *) |