summaryrefslogtreecommitdiff
path: root/package/ltp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/ltp/Makefile')
-rw-r--r--package/ltp/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/ltp/Makefile b/package/ltp/Makefile
index e575de1ec..b4c13f921 100644
--- a/package/ltp/Makefile
+++ b/package/ltp/Makefile
@@ -22,6 +22,9 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LTP,ltp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+# disable lto
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
+
XAKE_FLAGS+= GCC_HONOUR_COPTS=s
CONFIGURE_ARGS+= --with-open-posix-testsuite \
--with-realtime-testsuite \