Add '-mabi=aapcs-linux' to CFLAGS in 'alsa-lib' to be compatible w kernel
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Wed, 28 Nov 2007 07:09:57 +0000 (07:09 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Wed, 28 Nov 2007 07:09:57 +0000 (07:09 -0000)
package/alsa-lib/alsa-lib.mk

index aeef7347021bb602c177bb7895f343188f65cd93..7613285ef82315b2f0ccf9c3aeee6c0fc4629c40 100644 (file)
@@ -24,7 +24,7 @@ $(ALSA_LIB_DIR)/.configured: $(ALSA_LIB_DIR)/.unpacked
        (cd $(ALSA_LIB_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_ARGS) \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS)" \
+               CFLAGS="$(TARGET_CFLAGS) -mabi=aapcs-linux" \
                LDFLAGS="$(TARGET_LDFLAGS)" \
                ./configure \
                --target=$(GNU_TARGET_NAME) \