Skip to content
Commit 2c5961cc authored by Sunil V L's avatar Sunil V L Committed by mergify[bot]
Browse files

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: default avatarSunil V L <sunilvl@ventanamicro.com>
Tested-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Tested-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: default avatarLiming Gao <gaoliming@byosoft.com.cn>
parent 02fcfdce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment