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>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/E70VSwE+9JiP5gRVx//pJ68 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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} !=3D "FreeBSD" > > > > and what's the status example on NetBSD? >=20 > 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. >=20 > Here's a new version of the patch, which also adds -U__NetBSD__ and > -U__OpenBSD__ to CFLAGS. >=20 > --=20 > Robert Millan Whatever happened to using a proper cross-tool to do the job? Why is this hack needed? --=20 Alexander Kabaev --Sig_/E70VSwE+9JiP5gRVx//pJ68 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iD8DBQFOHLH+Q6z1jMm+XZYRAsm5AKDO16/zGI2beKzgA3Zfh1xb+1qScgCeJabW 9fj5pdmv8riwJ5Dp4kd2MJU= =HDnc -----END PGP SIGNATURE----- --Sig_/E70VSwE+9JiP5gRVx//pJ68--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110712164337.07e387eb>