treewide: add PKG_LTO:=0 where needed lto
authorStijn Tintel <stijn@linux-ipv6.be>
Mon, 1 Aug 2022 11:38:19 +0000 (14:38 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Tue, 4 Oct 2022 17:35:55 +0000 (20:35 +0300)
Add PKG_LTO:=0 to packages failing to build with CONFIG_LTO=1.

package/boot/grub2/Makefile
package/devel/perf/Makefile
package/libs/argp-standalone/Makefile
package/libs/elfutils/Makefile
package/libs/mbedtls/Makefile
package/libs/openssl/Makefile
package/utils/lua5.3/Makefile

index c4cc43de2e60aa7ea81f41c0f760862b748a3804..d30c1393c0bbba180be095d7a89648de5cc4d65a 100644 (file)
@@ -21,6 +21,7 @@ PKG_BUILD_DEPENDS:=grub2/host
 
 ifneq ($(BUILD_VARIANT),none)
   PKG_ASLR_PIE:=0
+  PKG_LTO:=0
   PKG_SSP:=0
 endif
 
index d556e2d9f0200aa674efa4f2115dbb15d572e9a3..26eb3972e41a2a04ed1a71e73aad9b9c6c1623ce 100644 (file)
@@ -16,6 +16,7 @@ PKG_USE_MIPS16:=0
 PKG_BUILD_PARALLEL:=1
 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
 PKG_FLAGS:=nonshared
+PKG_LTO:=0
 
 # Perf's makefile and headers are not relocatable and must be built from the
 # Linux sources directory
index 1a48dcb2cd72696b6547b2ff945de81961989ccc..ebb7975b293023e0c99b49612d19a7d308155bdd 100644 (file)
@@ -19,6 +19,8 @@ PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
 PKG_LICENSE:=LGPL-2.1
 PKG_LICENSE:=Makefile.am
 
+PKG_LTO:=0
+
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/host-build.mk
 
index 4ca37d3b06d223fe476d5db67961f17fe7062308..af832157dc5b71573a02c5c2bbca1109ca4c7c97 100644 (file)
@@ -22,6 +22,7 @@ PKG_CPE_ID:=cpe:/a:elfutils_project:elfutils
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 PKG_USE_MIPS16:=1
+PKG_LTO:=0
 PKG_BUILD_DEPENDS:=!USE_GLIBC:argp-standalone
 
 include $(INCLUDE_DIR)/package.mk
index 701d338a2ceca0f3ce920eedf2f34f6bf9919caf..87826a5061381f89bcc33e7e5852009459a69468 100644 (file)
@@ -11,6 +11,7 @@ PKG_NAME:=mbedtls
 PKG_VERSION:=2.28.1
 PKG_RELEASE:=$(AUTORELEASE)
 PKG_USE_MIPS16:=0
+PKG_LTO:=0
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/ARMmbed/mbedtls/tar.gz/v$(PKG_VERSION)?
index bf2d6ae64d24e77ce37d4355094addd8ea71e5ea..60591f45eed9768a0a23c6705cc12fe7bd8823d5 100644 (file)
@@ -13,6 +13,7 @@ PKG_BUGFIX:=q
 PKG_VERSION:=$(PKG_BASE)$(PKG_BUGFIX)
 PKG_RELEASE:=$(AUTORELEASE)
 PKG_USE_MIPS16:=0
+PKG_LTO:=0
 
 PKG_BUILD_PARALLEL:=1
 
index 19f3b4dfdad3dee62fc3f7eadd1c995b3558032a..dbcc55d0c902ebb0d8e5dbb6958a83e173011a10 100644 (file)
@@ -16,6 +16,7 @@ PKG_SOURCE_URL:=http://www.lua.org/ftp/ \
        http://www.tecgraf.puc-rio.br/lua/ftp/
 PKG_HASH:=0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
 PKG_BUILD_PARALLEL:=1
+PKG_LTO:=0
 
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=COPYRIGHT