mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/bluez: use lto
reduces the binary size ~33% in this case
This commit is contained in:
parent
2c6e1fbc39
commit
0a7f296768
@ -2,7 +2,7 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=bluez
|
||||
pkgver=5.66
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="Tools for the Bluetooth protocol stack"
|
||||
url="http://www.bluez.org/"
|
||||
arch="all"
|
||||
@ -53,6 +53,7 @@ source="https://www.kernel.org/pub/linux/bluetooth/bluez-$pkgver.tar.xz
|
||||
005-hostname-Use-phone-class-for-handhelds.patch
|
||||
disable-lock-test.patch
|
||||
fix-endianness.patch
|
||||
gcc13.patch
|
||||
test-mesh-crypto.patch
|
||||
max-input.patch
|
||||
"
|
||||
@ -68,6 +69,7 @@ prepare() {
|
||||
}
|
||||
|
||||
build() {
|
||||
CFLAGS="$CFLAGS -flto=auto" \
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
@ -206,6 +208,7 @@ d5fd1c962bd846eaa6fff879bab85f753eb367d514f82d133b5d3242e1da989af5eddd942c60a87d
|
||||
ac635f9bca0e983835940572eb1b96ad70cf60fb84d5b0fde38c76ea6d1b13ef7d9adf81468b9fed779c890ab69dd5dfabf21970bff018466115c424668b82fb 005-hostname-Use-phone-class-for-handhelds.patch
|
||||
04c4889372c8e790bb338dde7ffa76dc32fcf7370025c71b9184fcf17fd01ade4a6613d84d648303af3bbc54043ad489f29fc0cd4679ec8c9029dcb846d7e026 disable-lock-test.patch
|
||||
93ef2fe4e72cfa50d577adbae8de7449d3d070ab00d888bcc378d8a1783191130bf555f63cea781595701a5ef8b34355feae276423b10b1e22e2e43d10e09eac fix-endianness.patch
|
||||
078850ab7b659b564c71a48023814f135ad37852f2fa497f33843458723ebe8f66eed428c2ff14b1cd5f9e5b9348d040de1de9ca983da5a07ee9fdb17c089990 gcc13.patch
|
||||
9c57bb1abf1b4927441a2a25c3c2599b0da82850e6b945d09e824e25be7c7efa99e54999cf5b799a1093303202badf08833cc4ccb36203901dfa516031ea8eb0 test-mesh-crypto.patch
|
||||
3095bdb41cdf8dc2290f41d89ef56a2781569d50f19589c808512c6772ec43433ed0298c826a27ba9dbc9434b0ba136b0d389a9569e5df169aacbc8032e40c00 max-input.patch
|
||||
"
|
||||
|
14
main/bluez/gcc13.patch
Normal file
14
main/bluez/gcc13.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/mesh/mesh-config.h b/mesh/mesh-config.h
|
||||
index 4207758..34f9e77 100644
|
||||
--- a/mesh/mesh-config.h
|
||||
+++ b/mesh/mesh-config.h
|
||||
@@ -10,6 +10,9 @@
|
||||
|
||||
#define MIN_COMP_SIZE 14
|
||||
|
||||
+#include <stdint.h>
|
||||
+#include <stdbool.h>
|
||||
+
|
||||
struct mesh_config;
|
||||
|
||||
struct mesh_config_sub {
|
Loading…
Reference in New Issue
Block a user