summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-28 16:26:16 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-28 16:26:30 -0500
commit703db267f9be22825d4b0d8e59c0882bcd38204b (patch)
treed55f8d83753fd65af085b80cad33b1d7620ae191
parent2dcb71c85aacdfb44c01658e1d458ebe7ec1aa30 (diff)
disable lto for ltp
-rw-r--r--package/busybox/Makefile2
-rw-r--r--package/ltp/Makefile3
2 files changed, 4 insertions, 1 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 520d5f546..8b1d8b2c6 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -20,7 +20,7 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BUSYBOX,busybox,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
# disable lto
-TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
CONFIG_STYLE:= manual
BUILD_STYLE:= manual
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 \