summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/gmp/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/gmp/Makefile b/package/gmp/Makefile
index 43afab3c7..1470ead89 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