summaryrefslogtreecommitdiff
path: root/package/elinks/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/elinks/Makefile')
-rw-r--r--package/elinks/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/elinks/Makefile b/package/elinks/Makefile
index ee0e2798a..f3709cd27 100644
--- a/package/elinks/Makefile
+++ b/package/elinks/Makefile
@@ -23,6 +23,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ELINKS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
INSTALL_STYLE:= manual
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
TARGET_CFLAGS+= -fPIC
CONFIGURE_ENV+= $(shell echo ac_cv_file_./features.conf | tr [:blank:]-/. _)=yes
CONFIGURE_ENV+= $(shell echo ac_cv_file_${WRKBUILD}/features.conf | tr [:blank:]-/. _)=yes