summaryrefslogtreecommitdiff
path: root/package/gmp/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-03-09 19:11:28 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-03-09 19:11:28 +0100
commite2e2cb6a35c90bd78f489377bcd0e3308ec698c7 (patch)
tree8b305d39591626e40740d1fb140da0adf06a883b /package/gmp/Makefile
parent93e81731537219dc48bd57ff32f187b1fd515d7a (diff)
gmp: disable assembly for mips r6 cpus
Diffstat (limited to 'package/gmp/Makefile')
-rw-r--r--package/gmp/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/gmp/Makefile b/package/gmp/Makefile
index 35c1a2465..c4346db41 100644
--- a/package/gmp/Makefile
+++ b/package/gmp/Makefile
@@ -16,8 +16,13 @@ include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBGMP,libgmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+ifeq ($(ADK_TARGET_CPU_MIPS_MIPS32R6)$(ADK_TARGET_CPU_MIPS_MIPS64R6),y)
+CONFIGURE_ARGS+= --disable-assembly
+endif
+
libgmp-install:
${INSTALL_DIR} ${IDIR_LIBGMP}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libgmp.so* ${IDIR_LIBGMP}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libgmp.so* \
+ ${IDIR_LIBGMP}/usr/lib
include ${ADK_TOPDIR}/mk/pkg-bottom.mk