Details
Description
Currently static objects use basename.o and dynamic objects use basename.os. Unfortunately both gcc and clang use basename.dwo for the output of -gsplit-dwarf which results in the same file for both static and dynamic objects. The simplest solution involves altering the apparent basename for at least one of them by making the SUFFIX have multiple extensions, such as .dyn.os.