libmad $(MAKE) should be run with full configure environment
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 27 Nov 2007 21:44:55 +0000 (21:44 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 27 Nov 2007 21:44:55 +0000 (21:44 -0000)
package/libmad/libmad.mk

index 7a2d98a8c2a1dde4af1d9ca406d885fc4ebc3aba..053b24381028c6c94ec336b95a12f5d06a238f54 100644 (file)
@@ -40,7 +40,7 @@ $(LIBMAD_DIR)/.configured: $(LIBMAD_DIR)/.unpacked
 
 $(LIBMAD_DIR)/libmad.la: $(LIBMAD_DIR)/.configured
        rm -f $@
-       $(MAKE) -C $(LIBMAD_DIR)
+       $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(LIBMAD_DIR)
 
 $(STAGING_DIR)/usr/lib/libmad.so.0: $(LIBMAD_DIR)/libmad.la
        $(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBMAD_DIR) install