pacman: build with -fzero-init-padding-bits=unions
what a nice gcc 15 "feature"...
This commit is contained in:
parent
f672b11508
commit
a685646477
@ -4,7 +4,7 @@
|
||||
|
||||
pkgname=pacman
|
||||
pkgver=6.1.0
|
||||
pkgrel=17
|
||||
pkgrel=18
|
||||
pkgdesc="A library-based package manager with dependency support (MSYS2 port)"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://www.archlinux.org/pacman/"
|
||||
@ -186,6 +186,9 @@ prepare() {
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}
|
||||
|
||||
# https://gitlab.archlinux.org/pacman/pacman/-/issues/254#note_289040
|
||||
CFLAGS+=" -fzero-init-padding-bits=unions"
|
||||
|
||||
LDFLAGS+=" -static-libgcc" \
|
||||
meson setup build-${CARCH} \
|
||||
--buildtype=plain \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user