X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2347229ddd150b425c9617dabfe6ae7e2bcc53eb..7e450a1c869a5b227e3c91c4e71049059f1193e6:/package/gmp/Makefile?ds=sidebyside diff --git a/package/gmp/Makefile b/package/gmp/Makefile index 1470ead89..fa916f0b1 100644 --- a/package/gmp/Makefile +++ b/package/gmp/Makefile @@ -29,13 +29,10 @@ define Package/libgmp URL:=http://www.swox.com/gmp/ endef -define Build/Configure - $(call Build/Configure/Default, \ - --enable-shared \ - --enable-static, \ - CC="$(TARGET_CROSS)gcc" \ - ) -endef +CONFIGURE_VARS += CC="$(TARGET_CROSS)gcc" +CONFIGURE_ARGS += \ + --enable-shared \ + --enable-static \ define Build/Compile $(call Build/Compile/Default, \ @@ -58,7 +55,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