I'm using a KAS setup & added the following line:

TUNE_CCARGS = "-march=rv64imafdc_zicsr_zifencei_zihintpause"

It seems to have resulted in a successful build of qtbase (following rebuilds of gcc etc)

I imagine there's a more correct way to achieve this however.