Disable build on certain archs

Jaromír Mikeš mira.mikes at gmail.com
Sun Oct 19 20:44:06 UTC 2014


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__)

thank you

mira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20141019/a71f8a28/attachment.html>


More information about the pkg-multimedia-maintainers mailing list