Control: tag -1 + patch

Hi,

the reason for this failure is not an incompatibility with gcc-6,
but the build is currently failing because the musl-tools package
includes the musl-gcc wrapper, which is no longer required, as
gcc-6 has added support for musl [1].
The auto-detection detected that the wrapper is no longer required
and so it wasn't installed.

But as it probably still makes sense to ship the wrapper (for
older gcc versions), installing them can be enabled with
--enable-gcc-wrapper (i.e. skipping auto-detection).

Kind regards,
  Reiner

[1]: https://gcc.gnu.org/gcc-6/changes.html
diff --git a/debian/rules b/debian/rules
index 0d2004d..19e96bd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -62,7 +62,7 @@ debian/scripts/$(MUSL_TRIPLE).path: debian/scripts/config.path.in
 	cp debian/scripts/$(MUSL_TRIPLE).path debian/scripts/ld-musl-$(MUSL_ARCH).path
 
 override_dh_auto_configure: debian/scripts/$(MUSL_TRIPLE).path
-	dh_auto_configure -- --libdir=/usr/lib/$(MUSL_TRIPLE) --includedir=/usr/include/$(MUSL_TRIPLE) --host=$(DEB_HOST_GNU_TYPE)
+	dh_auto_configure -- --libdir=/usr/lib/$(MUSL_TRIPLE) --includedir=/usr/include/$(MUSL_TRIPLE) --host=$(DEB_HOST_GNU_TYPE) --enable-gcc-wrapper
 
 override_dh_fixperms:
 	dh_fixperms --exclude libc.so

Attachment: signature.asc
Description: Digital signature

Reply via email to