summaryrefslogtreecommitdiffstats
path: root/package/alsa-lib/alsa-lib.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-12-06 11:39:50 -0800
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-06 11:43:27 -0800
commit9a6d3456f3e7965f30648fd09ef54b13109d210d (patch)
tree59ab22e7bfd9245296fea9813b9ba39cf4e615a7 /package/alsa-lib/alsa-lib.mk
parent36c76398dcb5ee604ae24f384d7055ef37b23568 (diff)
downloadbuildroot-novena-9a6d3456f3e7965f30648fd09ef54b13109d210d.tar.gz
buildroot-novena-9a6d3456f3e7965f30648fd09ef54b13109d210d.zip
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: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/alsa-lib/alsa-lib.mk')
-rw-r--r--package/alsa-lib/alsa-lib.mk6
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"