Andrew Geissler | ea144b0 | 2023-01-27 16:03:57 -0600 | [diff] [blame^] | 1 | Avoid encoding build paths into sources used for floating point on powerpc. |
| 2 | (MACHINE=qemuppc bitbake libgcc). |
| 3 | |
| 4 | Upstream-Status: Submitted [https://gcc.gnu.org/pipermail/gcc-patches/2022-August/599882.html] |
| 5 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
| 6 | |
| 7 | Index: gcc-12.1.0/libgcc/config/rs6000/t-float128 |
| 8 | =================================================================== |
| 9 | --- gcc-12.1.0.orig/libgcc/config/rs6000/t-float128 |
| 10 | +++ gcc-12.1.0/libgcc/config/rs6000/t-float128 |
| 11 | @@ -103,7 +103,7 @@ $(ibm128_dec_objs) : INTERNAL_CFLAGS += |
| 12 | $(fp128_softfp_src) : $(srcdir)/soft-fp/$(subst -sw,,$(subst kf,tf,$@)) $(fp128_dep) |
| 13 | @src="$(srcdir)/soft-fp/$(subst -sw,,$(subst kf,tf,$@))"; \ |
| 14 | echo "Create $@"; \ |
| 15 | - (echo "/* file created from $$src */"; \ |
| 16 | + (echo "/* file created from `basename $$src` */"; \ |
| 17 | echo; \ |
| 18 | sed -f $(fp128_sed) < $$src) > $@ |
| 19 | |