Disable build on certain archs

James Cowgill james410 at cowgill.org.uk
Sun Oct 19 20:27:54 UTC 2014


On Sun, 2014-10-19 at 21:05 +0200, Jaromír Mikeš wrote:
> I got patch which fixed build on  kfreebsd-amd64 kfreebsd-i386, but build
> on hurd-i386 failed :(
> 
> https://buildd.debian.org/status/fetch.php?pkg=zam-plugins&arch=hurd-i386&ver=3.5~repack0-5&stamp=1413736712
> 
> I need quick fix or quick advise how correctly disable hurd=i386 only. ....

Just had a play on a hurd VM. Hurd doesn't define __GLIBC__ so you'll
need an extra "|| defined(__GNU__)" in your patch.

> architecture: [!=hurd-i386]
> Is solution above right?

You can't do "all arches except xxx" in the architecture field, so if
you were going to do this the best you can do is:
"Architecture: linux-any kfreebsd-any".

James




More information about the pkg-multimedia-maintainers mailing list