NetBSD/external/bsd/compiler_rt
rillig 296378dbd5 clang: fix build for installing libclang_rt.ubsan_minimal-x86_64.a
The build failed with:

	--- install-ubsan_minimal-m64 ---
	x86_64--netbsd-install: the last argument
	    (/.../libclang_rt.ubsan_minimal-x86_64.a.syms)
	    must name an existing directory

The cause of this is that the suffix transformation rule for .a.a.sym
was active even during 'make install'.

At that point, the make variable .ALLSRC for the target
${DESTDIR}/.../libclang_rt.ubsan_minimal-x86_64.a.sym included not only
the corresponding file from the source directory, but also the potential
source file from the transformation rule, in this case
libclang_rt.ubsan_minimal-x86_64.a.

This led to several file parameters for the command 'install', which is
only allowed if the last parameter names an existing directory.
2021-04-20 23:19:53 +00:00
..
lib clang: fix build for installing libclang_rt.ubsan_minimal-x86_64.a 2021-04-20 23:19:53 +00:00
Makefile Rework the LLVM compiler_rt build rules 2019-08-25 06:06:48 +00:00