aboutsummaryrefslogtreecommitdiffstats
path: root/package/gmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/gmp/Makefile')
-rw-r--r--package/gmp/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/package/gmp/Makefile b/package/gmp/Makefile
index 5a58f8f8da..fa916f0b1d 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, \