summaryrefslogtreecommitdiff
path: root/package/iperf
diff options
context:
space:
mode:
Diffstat (limited to 'package/iperf')
-rw-r--r--package/iperf/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/iperf/Makefile b/package/iperf/Makefile
index b2d01f86d..154175fc5 100644
--- a/package/iperf/Makefile
+++ b/package/iperf/Makefile
@@ -19,6 +19,9 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IPERF,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
+TARGET_CXXFLAGS:= $(filter-out -flto,$(TARGET_CXXFLAGS))
+
ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
TARGET_LDFLAGS+= -lssp
endif