summaryrefslogtreecommitdiff
path: root/package/libevent/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libevent/Makefile')
-rw-r--r--package/libevent/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libevent/Makefile b/package/libevent/Makefile
index 43452e092..4b6077b5d 100644
--- a/package/libevent/Makefile
+++ b/package/libevent/Makefile
@@ -21,6 +21,8 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBEVENT,libevent,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBEVENT_DEV,libevent-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBEVENT_DEV},${PKGSC_LIBEVENT_DEV}))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
+
libevent-install:
$(INSTALL_DIR) $(IDIR_LIBEVENT)/usr/lib
$(CP) $(WRKINST)/usr/lib/libevent*.so* $(IDIR_LIBEVENT)/usr/lib