]> git.alsa-project.org Git - alsa-lib.git/commit
Fix symver build error on non-ELF platforms
authorBernd Kuhls <bernd@kuhls.net>
Thu, 29 Jun 2023 05:57:21 +0000 (07:57 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 1 Sep 2023 14:54:44 +0000 (16:54 +0200)
commitc72bbed82513074fb5f0d474c7e88e2b4b945905
tree8f6a74850b44580c6c80af4bc1cd4eeab2fe5840
parent8883943995d428fcae5926ec9a4275e76e880b1a
Fix symver build error on non-ELF platforms

The following error is observed on Microblaze [1] build:

    error: symver is only supported on ELF platforms

due to using __attribute__((symver)) on non-ELF platform.

[1] http://autobuild.buildroot.net/results/1e9/1e965d83d75615f35308440c5db044314a349357/build-end.log

ac_check_attribute_symver.m4 was downloaded from
https://github.com/smuellerDD/libkcapi/blob/master/m4/ac_check_attribute_symver.m4

Fixes: https://github.com/alsa-project/alsa-lib/pull/334
Signed-off-by: Tan En De <ende.tan@starfivetech.com>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
configure.ac
include/alsa-symbols.h
m4/ac_check_attribute_symver.m4 [new file with mode: 0644]