diff options
-rw-r--r-- | package/gmp/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/gmp/Makefile b/package/gmp/Makefile index 43afab3c74..1470ead89a 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 |