Disable build on certain archs

James Cowgill james410 at cowgill.org.uk
Sun Oct 19 21:34:35 UTC 2014


On Sun, 2014-10-19 at 22:44 +0200, Jaromír Mikeš wrote:
> 2014-10-19 22:27 GMT+02:00 James Cowgill <james410 at cowgill.org.uk:
> > 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.
> 
> Aha ...something like this should works?
> 
> # elif defined(__linux__) || defined (__GLIBC__) || defined(__GNU__)

Yep that should work.

James




More information about the pkg-multimedia-maintainers mailing list