Skip to content

Commit

Permalink
Disabled to derive AB through default arch
Browse files Browse the repository at this point in the history
  • Loading branch information
majin2020 authored and pz9115 committed Apr 24, 2024
1 parent 6e2c664 commit 62e013a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gcc/config/riscv/riscv.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ extern const char *riscv_get_arch_spec_path (int argc, const char **argv);
{"tune", "%{!mtune=*:" \
" %{!mcpu=*:-mtune=%(VALUE)}" \
" %{mcpu=*:-mtune=%:riscv_default_mtune(%* %(VALUE))}}" }, \
{"arch", "%{!march=*:" \
" %{!mcpu=*:-march=%(VALUE)}" \
" %{mcpu=*:%:riscv_expand_arch_from_cpu(%* %(VALUE))}}" }, \
{"abi", "%{!mabi=*:" \
" %{!march=*:" \
" %{!mcpu=*:-mabi=%(VALUE)}" \
" %{mcpu=*:%:riscv_expand_abi_from_cpu(%* %(VALUE))}}" \
" %{march=*:%:riscv_expand_abi_from_arch(%*)}}" }
" %{march=*:%:riscv_expand_abi_from_arch(%*)}}" }, \
{"arch", "%{!march=*:" \
" %{!mcpu=*:-march=%(VALUE)}" \
" %{mcpu=*:%:riscv_expand_arch_from_cpu(%* %(VALUE))}}" }

#ifdef IN_LIBGCC2
#undef TARGET_64BIT
Expand Down

0 comments on commit 62e013a

Please sign in to comment.