nanocom: use provided compiler/linker flags as well
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 29 Jun 2012 14:30:15 +0000 (16:30 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 29 Jun 2012 14:40:03 +0000 (16:40 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/nanocom/nanocom.mk

index 4fb7aee79627579a953063b0df9b0ce0900f9b8e..8421397dad8471650381bb228c132584bd41f92b 100644 (file)
@@ -13,7 +13,7 @@ define NANOCOM_EXTRACT_CMDS
 endef
 
 define NANOCOM_BUILD_CMDS
-       $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+       $(MAKE) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" -C $(@D)
 endef
 
 define NANOCOM_INSTALL_TARGET_CMDS