1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: architecture/riscv/gcc-options.in
3 # Copyright (C) 2004 - 2023 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 # TODO: wire up all kinds of RV32 variants (probably shared w/ RV64)
14 if [ "$SDECFG_SOFTFLOAT" = 1 ]; then
15 # rv32gc (rc32imafdc), gcv (Zv*) Zb* finx
16 var_append GCC_WRAPPER_INSERT " " "-march=rv32imac"
17 var_append KCC_WRAPPER_APPEND " " "-march=rv32imac"