[Pkg-sysvinit-devel] Bug#816186: startpar: fix cross-build
Helmut Grohne
helmut at subdivi.de
Sun Feb 28 15:28:52 UTC 2016
Control: tags -1 + patch
Hi Samuel,
On Sun, Feb 28, 2016 at 03:04:23PM +0100, Samuel Thibault wrote:
> startpar can be fixed to cross-build fine, please see attached patch
> which defines CC as appropriate.
Your patch has two little problems.
* It relies on building under dpkg-buildpackage. Policy still allows
building by invoking ./debian/rules directly and then
DEB_HOST_GNU_TYPE may be unset.
* Your patch unconditionally overwrites CC and thus breaks e.g.
CC=clang dpkg-buildpackage. Note that since CC has a built-in
default, CC ?= ... cannot be used.
I am attaching an updated version that addresses both issues.
Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: startpar_0.59-3.1.diff
Type: text/x-diff
Size: 998 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20160228/83b6535b/attachment.diff>
More information about the Pkg-sysvinit-devel
mailing list