Compilation issue with SDK 6.0.22.1401, I am getting LTO not allowed.

Hello folks,

  SDK 6.0.22.1401 is not bulild therre 77 errors appearing as LTO not allowed. After making changes in "Options for target".Iam asked to replace -m with -M, thumb with --thumb.

Keil version is 5,using default compiler version 5. Can i get solution to solve it.Please find the attached images.

Thanks and regards