Blame SOURCES/gcc6-libquadmath-compat.patch

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