summaryrefslogtreecommitdiff
path: root/package/fontconfig/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/fontconfig/Makefile')
-rw-r--r--package/fontconfig/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/fontconfig/Makefile b/package/fontconfig/Makefile
index 691d12369..449703864 100644
--- a/package/fontconfig/Makefile
+++ b/package/fontconfig/Makefile
@@ -27,6 +27,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FONTCONFIG,fontconfig,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,FONTCONFIG_DEV,fontconfig-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_FONTCONFIG_DEV},${PKGSC_FONTCONFIG_DEV},${PKG_OPTS}))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
TARGET_LDFLAGS+= -liconv
CONFIGURE_ARGS+= --with-arch=${ARCH} \
--disable-docs