svn commit: r400131 - in head/sysutils/uniutils: . files
Baptiste Daroussin
bapt at FreeBSD.org
Sat Oct 24 18:33:43 UTC 2015
On Sat, Oct 24, 2015 at 06:20:17PM +0000, Alexey Dokuchaev wrote:
> On Sat, Oct 24, 2015 at 08:07:57PM +0200, Baptiste Daroussin wrote:
> > On Sat, Oct 24, 2015 at 05:20:12PM +0000, Alexey Dokuchaev wrote:
> > > On Sat, Oct 24, 2015 at 04:48:49PM +0000, Thierry Thomas wrote:
> > > > New Revision: 400131
> > > > URL: https://svnweb.freebsd.org/changeset/ports/400131
> > > >
> > > > Log:
> > > > - Fix hard-coded endian assumption;
> > > > [...]
> > > >
> > > > ++[ $(( $(printf '\1' | od -dAn) )) -eq 1 ] && end=le || end=be
> > >
> > > Nice trick! ;)
> >
> > Nice trick for sure, but not really cross building friendly :(
>
> Hmm, right, didn't think of that. Perhaps the framework should provide
> some {HOST,TARGET}_ENDIANNESS variables (if it does not already)?
>
> ./danfe
As soon as cross building is officially supported, we will for sure provide such
vars.
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20151024/0507f056/attachment.bin>
More information about the svn-ports-all
mailing list