Commit 9a6d3456 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

alsa-lib: fix build on bfin

Bfin toolchains don't have versionsort (which alsa-lib needs), so fake it
using alphasort instead.

Fixes http://autobuild.buildroot.net/results/cf760651b2e238842813bf0882011b5fbb898c0d



Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 36c76398
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -70,6 +70,12 @@ ifeq ($(BR2_SOFT_FLOAT),y)
ALSA_LIB_CONF_OPT += --with-softfloat
endif

ifeq ($(BR2_bfin),y)
# blackfin external toolchains don't have versionsort. Fake it using alphasort
# instead
ALSA_LIB_CFLAGS += -Dversionsort=alphasort
endif

ALSA_LIB_CONF_ENV = CFLAGS="$(ALSA_LIB_CFLAGS)" \
		    LDFLAGS="$(TARGET_LDFLAGS) -lm"