Makefile: Improve the method to disable -m(no-)save-restore option
The commit 69d7e536 disables the -m(no-)save-restore option for clang, but clang11 supports this option. This patch uses the output information of the compiler to check whether the compiler supports this option. Signed-off-by:Xiang W <wxjstz@126.com> Reviewed-by:
Anup Patel <anup.patel@wdc.com>
Loading
Please register or sign in to comment