ARC: remove deprecated -msoft-float from CFLAGS
commit2eefe0ab83a21e2fa5575e6a1b8b999457984cc7
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Wed, 22 Jun 2016 08:56:21 +0000 (22 11:56 +0300)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Thu, 23 Jun 2016 18:48:25 +0000 (23 20:48 +0200)
treebc3ff19d637517d1cc4a0423f571f7caa445f012
parentca6271bd5f595871881447dd40b220c0e5abfb37
ARC: remove deprecated -msoft-float from CFLAGS

"-msoft-float" makes no sense for ARC because there's no such thing
as "-mhard-float" on ARC. Instead we use our own "-mfpu=XXX" option
when a particular floating-point related HW feature is enabled in
the ARC core.

We used to live with that phony option for quite some time but
with migration to newer GCC following warning now appears:
-------------------->8-----------------
arc-linux-gcc: warning: ‘-msoft-float’ is deprecated
cc1: warning: ‘-msoft-float’ is deprecated [enabled by default]
-------------------->8-----------------

And that warning gets printed for each invocation of gcc with
the option in question, which makes compilation output barely
readable.

So we disable that phony option for ARC now.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Waldemar Brodkorb <wbx@uclibc-ng.org>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Rules.mak