Use the target compiler
authorFlorian Fainelli <florian@openwrt.org>
Fri, 8 Jun 2007 13:24:10 +0000 (13:24 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 8 Jun 2007 13:24:10 +0000 (13:24 +0000)
SVN-Revision: 7538

package/patch-cmdline/Makefile

index ab33458..70dc1ea 100644 (file)
@@ -30,7 +30,7 @@ define Build/Prepare
 endef
 
 define Build/Compile
-       $(CC) -o $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME).c
+       $(TARGET_CC) -o $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME).c
 endef
 
 define Package/patch-cmdline/install