summaryrefslogtreecommitdiff
path: root/package/mpfr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/mpfr/Makefile')
-rw-r--r--package/mpfr/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/mpfr/Makefile b/package/mpfr/Makefile
index 77f2c1d6a..c350828a3 100644
--- a/package/mpfr/Makefile
+++ b/package/mpfr/Makefile
@@ -12,6 +12,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MPFR,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
+
post-install:
${INSTALL_DIR} ${IDIR_MPFR}/usr/lib
${CP} ${WRKINST}/usr/lib/libmpfr.so* ${IDIR_MPFR}/usr/lib/