]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/tools_def.template: Update -march parameter for RISC-V
authorSunil V L <sunilvl@ventanamicro.com>
Wed, 22 Feb 2023 02:37:10 +0000 (10:37 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 23 Feb 2023 03:56:05 +0000 (03:56 +0000)
commit2c5961cccff1164ac7d0e34baa606d1ba1abcf43
treeb122e62ebd147c7c4d0bd85fc145fc4adfadaa1c
parent02fcfdce1e5ce86f1951191883e7e30de5aa08be
BaseTools/tools_def.template: Update -march parameter for RISC-V

Replace rv64imafdc with rv64gc so that it works for gcc 12.

"g" means imafd in gcc < 12 and imafd_zifencei_zicsr in gcc >= 12.
So, replacing rv64imafdc with rv64gc will work for both gcc <12
and gcc >=12.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Cc: Andrei Warkentin <andrei.warkentin@intel.com>
Cc: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
BaseTools/Conf/tools_def.template