Clang: fix versioned symbol build errors
A message that is not in the archive (sent off-list or not yet received): [email protected]
alsa-project/alsa-lib pull request #376 was opened from nvinson:
When building alsa-lib with the following settings
``` CFLAGS='-O3 -pipe' CXXFLAGS='-O3 -pipe' LDFLAGS='-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind' ``` the build fails with errors similar to ``` ld.lld: error: version script assignment of 'ALSA_0.9.5' to symbol 'alsa_lisp' failed: symbol not defined ```
This PR corrects that issue and additional issues found while making corrections so alsa-lib will successfully build using clang and ld.lld.
Request URL : https://github.com/alsa-project/alsa-lib/pull/376
Patch URL : https://github.com/alsa-project/alsa-lib/pull/376.patch
Repository URL: https://github.com/alsa-project/alsa-lib