ldso: arc: add compiler option check
ldso: arc: add compiler option check

Option '-mno-long-calls' is not supported by all arc gcc compilers.
For instance, this option is not supported by GCC for ARCv3 processors.
Check if this option is supported before applying it.

Signed-off-by: Sergey Matyukevich <1bf3978dff3174dcc6eaf35f2457af5f1e368daa@synopsys.com>
Signed-off-by: Pavel Kozlov <842ba2b609c73c49cd015c03822fb15d7e7ac995@synopsys.com>

kraj/uclibc-ng,kraj/uclibc-ng,kraj/uclibc-ng,kraj/uclibc-ng