Skip to content
Commit 69d7e536 authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

Makefile: Fix -msave-restore compile warning with CLANG-10 (or lower)



The riscv target of CLANG-10 (or lower) does not support the
-m(no-)save-restore option so we get compile warnings. This patch
fixes compile warning by using -m(no-)save-restore option only
for GCC.

Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarDong Du <Dd_nirvana@sjtu.edu.cn>
parent 460041c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment