Blame SOURCES/gcc6-libquadmath-compat.patch

78ce48
--- libquadmath/Makefile.am.jj	2016-04-15 16:53:53.207442732 +0200
78ce48
+++ libquadmath/Makefile.am	2016-07-21 19:04:01.472619416 +0200
78ce48
@@ -35,15 +35,19 @@ version_dep =
78ce48
 endif
78ce48
 
78ce48
 toolexeclib_LTLIBRARIES = libquadmath.la
78ce48
+noinst_LTLIBRARIES = libquadmathconvenience.la
78ce48
 libquadmath_la_LIBADD = 
78ce48
 libquadmath_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` \
78ce48
 			 $(version_arg) $(lt_host_flags) -lm
78ce48
 libquadmath_la_DEPENDENCIES = $(version_dep) $(libquadmath_la_LIBADD)
78ce48
+libquadmathconvenience_la_LIBADD =
78ce48
+libquadmathconvenience_la_LDFLAGS =
78ce48
+libquadmathconvenience_la_DEPENDENCIES =
78ce48
 
78ce48
 nodist_libsubinclude_HEADERS = quadmath.h quadmath_weak.h
78ce48
 libsubincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
78ce48
 
78ce48
-libquadmath_la_SOURCES = \
78ce48
+sources = \
78ce48
   math/x2y2m1q.c math/isinf_nsq.c math/acoshq.c math/fmodq.c \
78ce48
   math/acosq.c math/frexpq.c \
78ce48
   math/rem_pio2q.c math/asinhq.c math/hypotq.c math/remainderq.c \
78ce48
@@ -69,7 +73,8 @@ libquadmath_la_SOURCES = \
78ce48
   printf/mul_n.c printf/mul.c printf/printf_fphex.c printf/printf_fp.c \
78ce48
   printf/quadmath-printf.c printf/rshift.c printf/submul_1.c printf/sub_n.c \
78ce48
   strtod/strtoflt128.c strtod/mpn2flt128.c strtod/tens_in_limb.c
78ce48
-
78ce48
+libquadmath_la_SOURCES = $(sources)
78ce48
+libquadmathconvenience_la_SOURCES = $(sources)
78ce48
 
78ce48
 # Work around what appears to be a GNU make bug handling MAKEFLAGS
78ce48
 # values defined in terms of make variables, as is the case for CC and
78ce48
--- libquadmath/Makefile.in.jj	2016-04-15 16:53:53.170443230 +0200
78ce48
+++ libquadmath/Makefile.in	2016-07-21 19:04:23.626349760 +0200
78ce48
@@ -54,6 +54,7 @@ build_triplet = @build@
78ce48
 host_triplet = @host@
78ce48
 target_triplet = @target@
78ce48
 @BUILD_LIBQUADMATH_FALSE@libquadmath_la_DEPENDENCIES =
78ce48
+@BUILD_LIBQUADMATH_FALSE@libquadmathconvenience_la_DEPENDENCIES =
78ce48
 subdir = .
78ce48
 DIST_COMMON = ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
78ce48
 	$(top_srcdir)/configure $(am__configure_deps) \
78ce48
@@ -108,9 +109,9 @@ am__uninstall_files_from_dir = { \
78ce48
   }
78ce48
 am__installdirs = "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(infodir)" \
78ce48
 	"$(DESTDIR)$(libsubincludedir)"
78ce48
-LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
78ce48
+LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
78ce48
 am__dirstamp = $(am__leading_dot)dirstamp
78ce48
-@BUILD_LIBQUADMATH_TRUE@am_libquadmath_la_OBJECTS = math/x2y2m1q.lo \
78ce48
+@BUILD_LIBQUADMATH_TRUE@am__objects_1 = math/x2y2m1q.lo \
78ce48
 @BUILD_LIBQUADMATH_TRUE@	math/isinf_nsq.lo math/acoshq.lo \
78ce48
 @BUILD_LIBQUADMATH_TRUE@	math/fmodq.lo math/acosq.lo \
78ce48
 @BUILD_LIBQUADMATH_TRUE@	math/frexpq.lo math/rem_pio2q.lo \
78ce48
@@ -167,12 +168,22 @@ am__dirstamp = $(am__leading_dot)dirstam
78ce48
 @BUILD_LIBQUADMATH_TRUE@	printf/sub_n.lo strtod/strtoflt128.lo \
78ce48
 @BUILD_LIBQUADMATH_TRUE@	strtod/mpn2flt128.lo \
78ce48
 @BUILD_LIBQUADMATH_TRUE@	strtod/tens_in_limb.lo
78ce48
+@BUILD_LIBQUADMATH_TRUE@am_libquadmath_la_OBJECTS = $(am__objects_1)
78ce48
 libquadmath_la_OBJECTS = $(am_libquadmath_la_OBJECTS)
78ce48
 libquadmath_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
78ce48
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
78ce48
 	$(libquadmath_la_LDFLAGS) $(LDFLAGS) -o $@
78ce48
 @BUILD_LIBQUADMATH_TRUE@am_libquadmath_la_rpath = -rpath \
78ce48
 @BUILD_LIBQUADMATH_TRUE@	$(toolexeclibdir)
78ce48
+@BUILD_LIBQUADMATH_TRUE@am_libquadmathconvenience_la_OBJECTS =  \
78ce48
+@BUILD_LIBQUADMATH_TRUE@	$(am__objects_1)
78ce48
+libquadmathconvenience_la_OBJECTS =  \
78ce48
+	$(am_libquadmathconvenience_la_OBJECTS)
78ce48
+libquadmathconvenience_la_LINK = $(LIBTOOL) --tag=CC \
78ce48
+	$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
78ce48
+	$(AM_CFLAGS) $(CFLAGS) $(libquadmathconvenience_la_LDFLAGS) \
78ce48
+	$(LDFLAGS) -o $@
78ce48
+@BUILD_LIBQUADMATH_TRUE@am_libquadmathconvenience_la_rpath =
78ce48
 DEFAULT_INCLUDES = -I.@am__isrc@
78ce48
 depcomp = $(SHELL) $(top_srcdir)/../depcomp
78ce48
 am__depfiles_maybe = depfiles
78ce48
@@ -186,7 +197,8 @@ CCLD = $(CC)
78ce48
 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
78ce48
 	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
78ce48
 	$(LDFLAGS) -o $@
78ce48
-SOURCES = $(libquadmath_la_SOURCES)
78ce48
+SOURCES = $(libquadmath_la_SOURCES) \
78ce48
+	$(libquadmathconvenience_la_SOURCES)
78ce48
 MULTISRCTOP = 
78ce48
 MULTIBUILDTOP = 
78ce48
 MULTIDIRS = 
78ce48
@@ -348,14 +360,18 @@ AUTOMAKE_OPTIONS = 1.8 foreign
78ce48
 @BUILD_LIBQUADMATH_TRUE@@LIBQUAD_USE_SYMVER_GNU_TRUE@@LIBQUAD_USE_SYMVER_TRUE@version_dep = $(srcdir)/quadmath.map
78ce48
 @BUILD_LIBQUADMATH_TRUE@@LIBQUAD_USE_SYMVER_SUN_TRUE@@LIBQUAD_USE_SYMVER_TRUE@version_dep = quadmath.map-sun
78ce48
 @BUILD_LIBQUADMATH_TRUE@toolexeclib_LTLIBRARIES = libquadmath.la
78ce48
+@BUILD_LIBQUADMATH_TRUE@noinst_LTLIBRARIES = libquadmathconvenience.la
78ce48
 @BUILD_LIBQUADMATH_TRUE@libquadmath_la_LIBADD = 
78ce48
 @BUILD_LIBQUADMATH_TRUE@libquadmath_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` \
78ce48
 @BUILD_LIBQUADMATH_TRUE@			 $(version_arg) $(lt_host_flags) -lm
78ce48
 
78ce48
 @BUILD_LIBQUADMATH_TRUE@libquadmath_la_DEPENDENCIES = $(version_dep) $(libquadmath_la_LIBADD)
78ce48
+@BUILD_LIBQUADMATH_TRUE@libquadmathconvenience_la_LIBADD = 
78ce48
+@BUILD_LIBQUADMATH_TRUE@libquadmathconvenience_la_LDFLAGS = 
78ce48
+@BUILD_LIBQUADMATH_TRUE@libquadmathconvenience_la_DEPENDENCIES = 
78ce48
 @BUILD_LIBQUADMATH_TRUE@nodist_libsubinclude_HEADERS = quadmath.h quadmath_weak.h
78ce48
 @BUILD_LIBQUADMATH_TRUE@libsubincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
78ce48
-@BUILD_LIBQUADMATH_TRUE@libquadmath_la_SOURCES = \
78ce48
+@BUILD_LIBQUADMATH_TRUE@sources = \
78ce48
 @BUILD_LIBQUADMATH_TRUE@  math/x2y2m1q.c math/isinf_nsq.c math/acoshq.c math/fmodq.c \
78ce48
 @BUILD_LIBQUADMATH_TRUE@  math/acosq.c math/frexpq.c \
78ce48
 @BUILD_LIBQUADMATH_TRUE@  math/rem_pio2q.c math/asinhq.c math/hypotq.c math/remainderq.c \
78ce48
@@ -382,6 +398,8 @@ AUTOMAKE_OPTIONS = 1.8 foreign
78ce48
 @BUILD_LIBQUADMATH_TRUE@  printf/quadmath-printf.c printf/rshift.c printf/submul_1.c printf/sub_n.c \
78ce48
 @BUILD_LIBQUADMATH_TRUE@  strtod/strtoflt128.c strtod/mpn2flt128.c strtod/tens_in_limb.c
78ce48
 
78ce48
+@BUILD_LIBQUADMATH_TRUE@libquadmath_la_SOURCES = $(sources)
78ce48
+@BUILD_LIBQUADMATH_TRUE@libquadmathconvenience_la_SOURCES = $(sources)
78ce48
 
78ce48
 # Work around what appears to be a GNU make bug handling MAKEFLAGS
78ce48
 # values defined in terms of make variables, as is the case for CC and
78ce48
@@ -504,6 +522,15 @@ $(srcdir)/config.h.in: @MAINTAINER_MODE_
78ce48
 
78ce48
 distclean-hdr:
78ce48
 	-rm -f config.h stamp-h1
78ce48
+
78ce48
+clean-noinstLTLIBRARIES:
78ce48
+	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
78ce48
+	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
78ce48
+	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
78ce48
+	  test "$$dir" != "$$p" || dir=.; \
78ce48
+	  echo "rm -f \"$${dir}/so_locations\""; \
78ce48
+	  rm -f "$${dir}/so_locations"; \
78ce48
+	done
78ce48
 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
78ce48
 	@$(NORMAL_INSTALL)
78ce48
 	@list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
78ce48
@@ -688,6 +715,8 @@ strtod/tens_in_limb.lo: strtod/$(am__dir
78ce48
 	strtod/$(DEPDIR)/$(am__dirstamp)
78ce48
 libquadmath.la: $(libquadmath_la_OBJECTS) $(libquadmath_la_DEPENDENCIES) $(EXTRA_libquadmath_la_DEPENDENCIES) 
78ce48
 	$(libquadmath_la_LINK) $(am_libquadmath_la_rpath) $(libquadmath_la_OBJECTS) $(libquadmath_la_LIBADD) $(LIBS)
78ce48
+libquadmathconvenience.la: $(libquadmathconvenience_la_OBJECTS) $(libquadmathconvenience_la_DEPENDENCIES) $(EXTRA_libquadmathconvenience_la_DEPENDENCIES) 
78ce48
+	$(libquadmathconvenience_la_LINK) $(am_libquadmathconvenience_la_rpath) $(libquadmathconvenience_la_OBJECTS) $(libquadmathconvenience_la_LIBADD) $(LIBS)
78ce48
 
78ce48
 mostlyclean-compile:
78ce48
 	-rm -f *.$(OBJEXT)
78ce48
@@ -1316,7 +1345,8 @@ maintainer-clean-generic:
78ce48
 clean: clean-am clean-multi
78ce48
 
78ce48
 clean-am: clean-aminfo clean-generic clean-libtool \
78ce48
-	clean-toolexeclibLTLIBRARIES mostlyclean-am
78ce48
+	clean-noinstLTLIBRARIES clean-toolexeclibLTLIBRARIES \
78ce48
+	mostlyclean-am
78ce48
 
78ce48
 distclean: distclean-am distclean-multi
78ce48
 	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
78ce48
@@ -1487,8 +1517,9 @@ uninstall-am: uninstall-dvi-am uninstall
78ce48
 
78ce48
 .PHONY: CTAGS GTAGS all all-am all-local all-multi am--refresh check \
78ce48
 	check-am clean clean-aminfo clean-generic clean-libtool \
78ce48
-	clean-multi clean-toolexeclibLTLIBRARIES ctags dist-info \
78ce48
-	distclean distclean-compile distclean-generic distclean-hdr \
78ce48
+	clean-multi clean-noinstLTLIBRARIES \
78ce48
+	clean-toolexeclibLTLIBRARIES ctags dist-info distclean \
78ce48
+	distclean-compile distclean-generic distclean-hdr \
78ce48
 	distclean-libtool distclean-multi distclean-tags dvi dvi-am \
78ce48
 	html html-am info info-am install install-am install-data \
78ce48
 	install-data-am install-dvi install-dvi-am install-exec \