fixed arch dependent option
authorJohn Voltz <john.voltz@gmail.com>
Thu, 6 Mar 2008 19:48:39 +0000 (19:48 -0000)
committerJohn Voltz <john.voltz@gmail.com>
Thu, 6 Mar 2008 19:48:39 +0000 (19:48 -0000)
package/alsa-lib/alsa-lib.mk

index cb7c2aacd53fb27412f331d94329544d776975b0..7a0b57484d2c33b8496ecbc5c68f148b893a048a 100644 (file)
@@ -17,6 +17,10 @@ else
 ALSA_LIB_ABI:=
 endif
 
+ifeq ($(BR2_SOFT_FLOAT),y)
+       SOFT_FLOAT=--with-softfloat
+endif
+
 $(DL_DIR)/$(ALSA_LIB_SOURCE):
        $(WGET) -P $(DL_DIR) $(ALSA_LIB_SITE)/$(ALSA_LIB_SOURCE)
 
@@ -42,7 +46,7 @@ $(ALSA_LIB_DIR)/.configured: $(ALSA_LIB_DIR)/.unpacked
                --enable-static \
                --disable-docs \
                --with-alsa-devdir=/dev \
-               --with-softfloat \
+               $(SOFT_FLOAT) \
                $(DISABLE_NLS) \
        )
        touch $@