diff options
-rw-r--r-- | package/alsa-lib/alsa-lib.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/alsa-lib/alsa-lib.mk b/package/alsa-lib/alsa-lib.mk index eddd3d2f3..ba222db3a 100644 --- a/package/alsa-lib/alsa-lib.mk +++ b/package/alsa-lib/alsa-lib.mk @@ -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" |