Source: sc
Version: 7.16-4
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

sc fails to cross build from source, because it passes the build
architecture compiler to make. Deferring the choice of CC to
dh_auto_build fixes the cross build. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru sc-7.16/debian/changelog sc-7.16/debian/changelog
--- sc-7.16/debian/changelog    2014-05-18 22:13:43.000000000 +0200
+++ sc-7.16/debian/changelog    2017-12-18 20:37:39.000000000 +0100
@@ -1,3 +1,10 @@
+sc (7.16-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass a suitable CC to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 18 Dec 2017 20:37:39 +0100
+
 sc (7.16-4) unstable; urgency=low
 
   * debian/patches/function_definitions
diff --minimal -Nru sc-7.16/debian/rules sc-7.16/debian/rules
--- sc-7.16/debian/rules        2014-05-18 22:11:00.000000000 +0200
+++ sc-7.16/debian/rules        2017-12-18 20:37:35.000000000 +0100
@@ -28,7 +28,7 @@
        dh_testdir
 
        # Add here commands to compile the package.
-       $(MAKE) all sc.1 psc.1 CC=gcc CFLAGS="-O2 -Wall -DSYSV3 -ffloat-store"
+       dh_auto_build -- all sc.1 psc.1 CFLAGS="-O2 -Wall -DSYSV3 -ffloat-store"
        #/usr/bin/docbook-to-man debian/sc.sgml > sc.1
 
        touch build-stamp

Reply via email to