treewide: opt-out of tree-wide LTO usage
[openwrt/openwrt.git] / package / boot / grub2 / Makefile
index 7d6cfd539594a3117a4377c926c0e5fbc542efbd..249acf14877f021ebfcc60c1a9aeadb99b9aa215 100644 (file)
@@ -25,6 +25,7 @@ ifneq ($(BUILD_VARIANT),none)
 endif
 
 PKG_FLAGS:=nonshared
+PKG_BUILD_FLAGS:=no-lto
 
 include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/package.mk