summaryrefslogtreecommitdiff
path: root/package/libnet
diff options
context:
space:
mode:
Diffstat (limited to 'package/libnet')
-rw-r--r--package/libnet/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/libnet/Makefile b/package/libnet/Makefile
index 7023e0b40..9e6b7663f 100644
--- a/package/libnet/Makefile
+++ b/package/libnet/Makefile
@@ -24,6 +24,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBNET,libnet,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBNET_DEV,libnet-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBNET_DEV},${PKGSC_LIBNET_DEV}))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
ENDIAN:=lil
ifeq (${CPU_ARCH},mips)
ENDIAN:=big