X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/8afb23270d23db6a033ba8fb77e1cf1a1d925a7c..7923c5e52ca085c54dd63c17671556a7ec4b4152:/package/gmp/Makefile?ds=sidebyside diff --git a/package/gmp/Makefile b/package/gmp/Makefile index 43afab3c7..5a58f8f8d 100644 --- a/package/gmp/Makefile +++ b/package/gmp/Makefile @@ -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