freebsd-nq/lib/libclang_rt
John Baldwin 52f9bacb0e Install the 32-bit compat sanitizer libraries.
The lib32 build was already building the i386 version of
the clang sanitizers (libclang_rt) but they were not being
installed.  This enables the installation.

MK_TOOLCHAIN=no was originally added to the install make
environment to disable includes so that NO_INCS could be
removed.  The MK_TOOLCHAIN in bsd.incs.mk was subsequently
renamed to MK_INCLUDES, but bsd.lib.mk doesn't even include
bsd.incs.mk when LIBRARIES_ONLY is defined which the install
make environment for compat libs now defines.  However,
setting MK_TOOLCHAIN=no forced MK_CLANG=no which disabled
libclang_rt during the install32 phase.  Remove MK_TOOLCHAIN=no
since LIBRARIES_ONLY is now sufficient.

Since the libcompat environment overrides both LIBDIR and
SHLIBDIR, libclang_rt/Makefile.inc has to set both variables
to force the libraries to be installed to the location
expected by the compiler.

Reviewed by:	bdrewery, dim
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D16574
2018-08-03 18:52:51 +00:00
..
asan Next step in updating llvm/clang build glue: make libclang_rt build. 2017-12-23 21:41:32 +00:00
asan_cxx Next step in updating llvm/clang build glue: make libclang_rt build. 2017-12-23 21:41:32 +00:00
asan_dynamic Next step in updating llvm/clang build glue: make libclang_rt build. 2017-12-23 21:41:32 +00:00
asan-preinit
include Next step in updating llvm/clang build glue: make libclang_rt build. 2017-12-23 21:41:32 +00:00
profile Next step in updating llvm/clang build glue: make libclang_rt build. 2017-12-23 21:41:32 +00:00
safestack Next step in updating llvm/clang build glue: make libclang_rt build. 2017-12-23 21:41:32 +00:00
stats Next step in updating llvm/clang build glue: make libclang_rt build. 2017-12-23 21:41:32 +00:00
stats_client
tsan Next step in updating llvm/clang build glue: make libclang_rt build. 2017-12-23 21:41:32 +00:00
tsan_cxx Next step in updating llvm/clang build glue: make libclang_rt build. 2017-12-23 21:41:32 +00:00
ubsan_minimal Next step in updating llvm/clang build glue: make libclang_rt build. 2017-12-23 21:41:32 +00:00
ubsan_standalone Next step in updating llvm/clang build glue: make libclang_rt build. 2017-12-23 21:41:32 +00:00
ubsan_standalone_cxx Next step in updating llvm/clang build glue: make libclang_rt build. 2017-12-23 21:41:32 +00:00
Makefile Remove special cases for armeb in the build. 2018-07-17 23:23:54 +00:00
Makefile.inc Install the 32-bit compat sanitizer libraries. 2018-08-03 18:52:51 +00:00