Skip to content
Commit 54b229fc authored by Wayne Ren's avatar Wayne Ren Committed by Anas Nashif
Browse files

soc: arc: optmize and bug fix the compile options



* when -mcpu is given, e.g. -mcpu=em4_dmips,-mnorm,-mdiv_em
etc. are already given, no need to duplicate

* use zephyr_compiler_options to replace zephyr_cc_option
zephyr_cc_option will do compile option check first then add
the checked options into option list. It's too strict that makes
options like -mfpu, -mmpy-option cannot be added.

Signed-off-by: default avatarWayne Ren <wei.ren@synopsys.com>
parent 27fbe347
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment