]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r319473:
authordim <dim@FreeBSD.org>
Thu, 8 Jun 2017 17:10:58 +0000 (17:10 +0000)
committerdim <dim@FreeBSD.org>
Thu, 8 Jun 2017 17:10:58 +0000 (17:10 +0000)
commit23f455ae3ae9ca16909a7ab16123ccfbd4a6c6ac
treeaca78ade5bdc3d5c7bf81a81cac8407fb8b027a8
parent803005508df6ae02d5710b8aed038704b9d11bb0
MFC r319473:

For arm targets, place ABI at the end of the target triple

For some reason, we have been inserting the ABI specification into the
middle of the target triple, when building LLVM, like so:

    armv6-gnueabi-freebsd12.0

This is the wrong way around.  LLVM even auto-canonicalizes it to:

    armv6--freebsd12.0-gnueabi

Let's do this the right way in llvm.build.mk instead.  While here,
define a proper VENDOR macro which can be overridden easily.

Approved by: re (gjb)
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D10846
lib/clang/llvm.build.mk