configure: Fix build with ALSA audio driver
Since commit 417c9d72d4
,
all configure tests normally run with -Werror.
Some of these tests now fail because they raised a compiler warning.
Here a build breakage for ALSA (configure --audio-drv-list=alsa) is fixed.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
6ca026cb37
commit
e35bcb0cab
2
configure
vendored
2
configure
vendored
@ -1891,7 +1891,7 @@ for drv in $audio_drv_list; do
|
|||||||
case $drv in
|
case $drv in
|
||||||
alsa)
|
alsa)
|
||||||
audio_drv_probe $drv alsa/asoundlib.h -lasound \
|
audio_drv_probe $drv alsa/asoundlib.h -lasound \
|
||||||
"snd_pcm_t **handle; return snd_pcm_close(*handle);"
|
"return snd_pcm_close((snd_pcm_t *)0);"
|
||||||
libs_softmmu="-lasound $libs_softmmu"
|
libs_softmmu="-lasound $libs_softmmu"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user