summaryrefslogtreecommitdiffstats
path: root/package/alsa-lib/alsa-lib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/alsa-lib/alsa-lib.mk')
-rw-r--r--package/alsa-lib/alsa-lib.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/alsa-lib/alsa-lib.mk b/package/alsa-lib/alsa-lib.mk
index bfa1f051b..cb7c2aacd 100644
--- a/package/alsa-lib/alsa-lib.mk
+++ b/package/alsa-lib/alsa-lib.mk
@@ -31,7 +31,7 @@ $(ALSA_LIB_DIR)/.configured: $(ALSA_LIB_DIR)/.unpacked
$(TARGET_CONFIGURE_ARGS) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) $(ALSA_LIB_ABI)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS) -lm" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
@@ -41,6 +41,8 @@ $(ALSA_LIB_DIR)/.configured: $(ALSA_LIB_DIR)/.unpacked
--enable-shared \
--enable-static \
--disable-docs \
+ --with-alsa-devdir=/dev \
+ --with-softfloat \
$(DISABLE_NLS) \
)
touch $@