[arch-commits] Commit in glib2/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Fri Sep 2 19:57:40 UTC 2022
Date: Friday, September 2, 2022 @ 19:57:40
Author: dvzrv
Revision: 454928
upgpkg: glib2 2.72.3-3: Rebuild to use fat LTO objects.
Rebuild with -ffat-lto-objects to get the static libs to work:
https://bugs.archlinux.org/task/75774
Modified:
glib2/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-02 19:56:45 UTC (rev 454927)
+++ PKGBUILD 2022-09-02 19:57:40 UTC (rev 454928)
@@ -4,7 +4,7 @@
pkgbase=glib2
pkgname=(glib2 glib2-docs)
pkgver=2.72.3
-pkgrel=2
+pkgrel=3
pkgdesc="Low level core library"
url="https://wiki.gnome.org/Projects/GLib"
license=(LGPL)
@@ -38,8 +38,9 @@
build() {
# Produce more debug info: GLib has a lot of useful macros
- CFLAGS+=' -g3'
- CXXFLAGS+=' -g3'
+ # use fat LTO objects for static libraries
+ CFLAGS+=' -ffat-lto-objects -g3'
+ CXXFLAGS+=' -ffat-lto-objects -g3'
CFLAGS+=" -DG_DISABLE_CAST_CHECKS"
arch-meson glib build \
More information about the arch-commits
mailing list