summaryrefslogtreecommitdiffstats
path: root/package/libs
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2023-01-28 16:04:10 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2023-03-21 18:28:23 +0100
commit9fe7cc62a6ca49e81e5656ace144e35c31a9a408 (patch)
treeacbcbdca3d86d2f37f21f43a84711d411565b2e0 /package/libs
parentaef8bab9d71d85dcb6d99ff70078be3f2bdfbf61 (diff)
downloadopenwrt-9fe7cc62a6ca49e81e5656ace144e35c31a9a408.tar.gz
openwrt-9fe7cc62a6ca49e81e5656ace144e35c31a9a408.tar.bz2
openwrt-9fe7cc62a6ca49e81e5656ace144e35c31a9a408.zip
treewide: opt-out of tree-wide LTO usage
These fail to build with LTO enabled or packages depending on them do. Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'package/libs')
-rw-r--r--package/libs/argp-standalone/Makefile2
-rw-r--r--package/libs/mbedtls/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/package/libs/argp-standalone/Makefile b/package/libs/argp-standalone/Makefile
index 1a48dcb2cd..23e5169796 100644
--- a/package/libs/argp-standalone/Makefile
+++ b/package/libs/argp-standalone/Makefile
@@ -19,6 +19,8 @@ PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
PKG_LICENSE:=LGPL-2.1
PKG_LICENSE:=Makefile.am
+PKG_BUILD_FLAGS:=no-lto
+
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
diff --git a/package/libs/mbedtls/Makefile b/package/libs/mbedtls/Makefile
index f49bb24de6..f86d489190 100644
--- a/package/libs/mbedtls/Makefile
+++ b/package/libs/mbedtls/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mbedtls
PKG_VERSION:=2.28.2
PKG_RELEASE:=2
-PKG_BUILD_FLAGS:=no-mips16 gc-sections
+PKG_BUILD_FLAGS:=no-mips16 gc-sections no-lto
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/ARMmbed/mbedtls/tar.gz/v$(PKG_VERSION)?