]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix non-FreeBSD host lib32 build for TARGET=amd64
authorarichardson <arichardson@FreeBSD.org>
Thu, 23 Aug 2018 18:19:10 +0000 (18:19 +0000)
committerarichardson <arichardson@FreeBSD.org>
Thu, 23 Aug 2018 18:19:10 +0000 (18:19 +0000)
commitda0bd0e917a71eba0464f47a74b92351e24c2268
treeabd172d2a5447e31d54124ab6dfc2d19a6b8b079
parenta0fd2151971c7062bcf450c2f609edec80ee62c5
Fix non-FreeBSD host lib32 build for TARGET=amd64

When building on non-FreeBSD systems we need to pass an explicit target
triple to clang otherwise it will attempt to build with the host triple.
This also has advantages when building on a FreeBSD host: we now tell
clang that we are targeting at least FreeBSD 12.0 instead of an older
version so it can enable newer features.

Reviewed By: brooks (mentor)
Approved By: jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D16842
Makefile.libcompat