diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-02-07 18:17:50 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-02-07 18:17:50 +0100 |
commit | 292d0266a9de12500d1c8ceac3cec5e45f9099af (patch) | |
tree | 703e0e785cf86fc9e6c76d43ee0c317121cdc16d /package/kbd/kbd.mk | |
parent | 19bb96f0767751a0500062fcbee8450cd5fe3825 (diff) | |
download | buildroot-292d0266a9de12500d1c8ceac3cec5e45f9099af.tar.gz buildroot-292d0266a9de12500d1c8ceac3cec5e45f9099af.zip |
squeezelite: fix musl build
The build error was not yet found by the autobuilders:
output_alsa.c: In function ‘output_init_alsa’:
output_alsa.c:865:10: error: ‘M_TRIM_THRESHOLD’ undeclared (first use in this function)
mallopt(M_TRIM_THRESHOLD, -1);
^
output_alsa.c:865:10: note: each undeclared identifier is reported only once for each function it appears in
output_alsa.c:866:10: error: ‘M_MMAP_MAX’ undeclared (first use in this function)
mallopt(M_MMAP_MAX, 0);
^
This commit adds a patch fixing this build error by making the
mallopt() usage conditional on __GLIBC__.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: only enclose the mallopt() call in __GLIBC__, use Git to
format the patch, improve the commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/kbd/kbd.mk')
0 files changed, 0 insertions, 0 deletions