diff options
-rw-r--r-- | package/busybox/Makefile | 2 | ||||
-rw-r--r-- | package/ltp/Makefile | 3 |
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 \ |