Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/external/bsd/compiler_rt/lib/clang/lib/netbsd



Module Name:    src
Committed By:   rillig
Date:           Tue Apr 20 23:19:53 UTC 2021

Modified Files:
        src/external/bsd/compiler_rt/lib/clang/lib/netbsd: syms.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    src/external/bsd/compiler_rt/lib/clang/lib/netbsd/syms.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index