lib/clan/llvm.build.mk: Shouldn't BUILD_TRIPLE definition rely host 'cc -dumpmachine'?

Eddy Petrișor eddy.petrisor at gmail.com
Sun Oct 29 07:55:51 UTC 2017


2017-10-29 9:51 GMT+02:00 Eddy Petrișor <eddy.petrisor at gmail.com>:

> Various linux distributions
>
> patch uname and its -p code (for
> example). Even for the same kernel
> being in use, giving different
> textual results. -m seemed more
> stable in my limited testing.
> Everyplace that uses uname probably
> needs to be reviewed for a possible
> re-work. BUILD_ARCH and its use is
> an example.
>
>
(format correction, this should have appeared as if said by Mark, but by
myself)

Yes, I have some places where I made MACHINE* related changes, and a
wrapper script to enforce some things to be correct for the
Linux-host--FreeBSD-target scenario.
See this wrapper, for example:
https://github.com/eddyp/freebsd/blob/linux-fixes/Linux.sh

Eddy Petrișor


More information about the freebsd-arm mailing list