[libgcc, build] Suppress some warnings for soft-fp files
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Mon Nov 25 18:23:00 GMT 2013
Uros prompted me to look into why we were still getting warnings
compiling the soft-fp code in libgcc despite this in config/t-softfp:
$(soft-fp-objects) : INTERNAL_CFLAGS += -Wno-missing-prototypes -Wno-type-limit
s
It turned out that soft-fp-objects still included the $srcdir prefix.
It seems my libgcc migration missed some chunk of code to strip that,
although I still see the warnings on the 4.6 branch (i.e. before the
migration).
Anyway, the following patch fixes this. Bootstrapped without
regressions on i386-pc-solaris2.11 and x86_64-unknown-linux-gnu and
verified the warnings are indeed gone.
Ok for mainline?
Rainer
2013-11-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/t-softfp (soft-fp-objects-base): New variable.
(soft-fp-objects): Use it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgcc.patch
Type: text/x-patch
Size: 622 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131125/64072277/attachment.bin>
-------------- next part --------------
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Gcc-patches
mailing list