Move aodv-uu to trunk/
[openwrt.git] / package / gmp / Makefile
index 43afab3..5a58f8f 100644 (file)
@@ -32,13 +32,15 @@ endef
 define Build/Configure
        $(call Build/Configure/Default, \
                --enable-shared \
-               --enable-static \
+               --enable-static, \
+               CC="$(TARGET_CROSS)gcc" \
        )
 endef
 
 define Build/Compile
        $(call Build/Compile/Default, \
                DESTDIR="$(PKG_INSTALL_DIR)" \
+               CC="$(TARGET_CC)" \
                all install \
        )
 endef
@@ -56,7 +58,7 @@ define Build/UninstallDev
 endef
 
 define Package/libgmp/install
-       install -m0755 -d $(1)/usr/lib
+       $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgmp.so.* $(1)/usr/lib/
 endef
 
This page took 0.024272 seconds and 4 git commands to generate.