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
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