Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2011 16:43:37 -0400
From:      Alexander Kabaev <kabaev@gmail.com>
To:        Robert Millan <rmh@debian.org>
Cc:        freebsd-hackers@freebsd.org, Ed, Maste <emaste@freebsd.org>, Oliver Pinter <oliver.pntr@gmail.com>
Subject:   Re: [PATCH] fake pre-processor macros when building on non-FreeBSD system
Message-ID:  <20110712164337.07e387eb@kan.dnsalias.net>
In-Reply-To: <CAOfDtXMMej_KORBt1PvAdAL7VvEkzXjpHM=eO_%2BLh=fP5OfWmQ@mail.gmail.com>
References:  <CAOfDtXNqydD_hyvo25Arkm=gdqVcSJB8RPfnFL9xozQfS=UeEQ@mail.gmail.com> <CAPjTQNFp8dQBKdFzhPAX1NZ2j%2BLSsffZkOurN0yEb4M%2BpD%2Buow@mail.gmail.com> <CAOfDtXMMej_KORBt1PvAdAL7VvEkzXjpHM=eO_%2BLh=fP5OfWmQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, 12 Jul 2011 22:00:56 +0200
Robert Millan <rmh@debian.org> wrote:

> 2011/7/12 Oliver Pinter <oliver.pntr@gmail.com>:
> > +.if ${OPSYS} != "FreeBSD"
> >
> > and what's the status example on NetBSD?
> 
> I didn't think of it.  There are some instances of __NetBSD__ and also
> __OpenBSD__ in the kernel tree, and the same problem can be fixed for
> these two systems with minimal effort.
> 
> Here's a new version of the patch, which also adds -U__NetBSD__ and
> -U__OpenBSD__ to CFLAGS.
> 
> -- 
> Robert Millan

Whatever happened to using a proper cross-tool to do the job? Why is
this hack needed?

-- 
Alexander Kabaev

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iD8DBQFOHLH+Q6z1jMm+XZYRAsm5AKDO16/zGI2beKzgA3Zfh1xb+1qScgCeJabW
9fj5pdmv8riwJ5Dp4kd2MJU=
=HDnc
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110712164337.07e387eb>